Пример #1
0
 def __init__(self, min_queue_time=10):
     BaseMediaEngine.__init__(self, min_queue_time)
     self.queue = dict(byte=0,
                       sec=0)  #Initialized playout buffer at 0B and 0s
     self.pushed_segments = []
     self.current_time = 0
     self.min_queue_time = min_queue_time
Пример #2
0
 def __init__(self, min_queue_time=10):
     BaseMediaEngine.__init__(self, min_queue_time)
     self.queue =  dict(byte=0, sec=0)  #Initialized playout buffer at 0B and 0s
     self.pushed_segments = []
     self.current_time = 0
     self.min_queue_time = min_queue_time
Пример #3
0
 def __init__(self, decode_video=True, min_queue_time=10):
     BaseMediaEngine.__init__(self, min_queue_time)
     self.decode_video = decode_video
     self.pipeline = None
Пример #4
0
 def __init__(self, decode_video=True, min_queue_time=10):
     BaseMediaEngine.__init__(self, min_queue_time)
     self.decode_video = decode_video
     self.pipeline = None