try:
    import coloredlogs, logging
    import gi
    gi.require_version('Gst', '1.0')
    gi.require_version('GstRtsp', '1.0')
    gi.require_version('GLib', '2.0')
    from gi.repository import Gst, GstRtsp, GObject, GLib
    Gst.init(None)
    from rtsp_gst.bus import BUS_HANDLERS
    from rtsp_gst.rtsp_player import GST_RTSP_PLAYER, RTSP_CONFIG
    
except Exception as Error:
    print(f"Import Error {Error}")

try:
    import coloredlogs, logging
    import gi
    gi.require_version('Gst', '1.0')
    gi.require_version('GstRtsp', '1.0')
    gi.require_version('GLib', '2.0')
    from gi.repository import Gst, GstRtsp, GObject, GLib
    Gst.init(None)
    from rtsp_gst.bus import BUS_HANDLERS
    from rtsp_gst.rtsp_player import GST_RTSP_PLAYER, RTSP_CONFIG
    
except Exception as Error:
    print(f"Import Error {Error}")
