Ejemplo n.º 1
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cod = CodEncodeStream()
     cod.input = [InputUrl(id=InputUrl.generate_id())]
     cod.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(cod, settings, client)
Ejemplo n.º 2
0
 def make_stream(cls, settings: ServiceSettings):
     proxy = ProxyVodStream()
     proxy.input = [InputUrl(id=InputUrl.generate_id())]
     proxy.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(proxy, settings)
Ejemplo n.º 3
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cat = CatchupStream()
     cat.input = [InputUrl(id=InputUrl.generate_id())]
     return cls(cat, settings, client)
Ejemplo n.º 4
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tp = TimeshiftPlayerStream()
     tp.input = [InputUrl(id=InputUrl.generate_id())]
     tp.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(tp, settings, client)
Ejemplo n.º 5
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     encode = EncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     encode.input = [InputUrl(id=InputUrl.generate_id())]
     encode.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(encode, settings, client)
Ejemplo n.º 6
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tr = TimeshiftRecorderStream()
     tr.visible = False
     tr.input = [InputUrl(id=InputUrl.generate_id())]
     return cls(tr, settings, client)
Ejemplo n.º 7
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     vod = VodEncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     vod.loop = False
     vod.input = [InputUrl(id=InputUrl.generate_id())]
     vod.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(vod, settings, client)
Ejemplo n.º 8
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     hard = HardwareStream()
     hard.input = [InputUrl(id=InputUrl.generate_id())]
     hard.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(hard, settings, client)
Ejemplo n.º 9
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cod = CodRelayStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cod.input = [InputUrl(id=InputUrl.generate_id())]
     cod.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(cod, settings, client)
Ejemplo n.º 10
0
 def make_stream(cls, settings: ServiceSettings):
     proxy = ProxyVodStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     proxy.input = [InputUrl(id=InputUrl.generate_id())]
     proxy.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(proxy, settings)
Ejemplo n.º 11
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tp = TimeshiftPlayerStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     tp.input = [InputUrl(id=InputUrl.generate_id())]
     tp.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(tp, settings, client)
Ejemplo n.º 12
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cat = CatchupStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cat.input = [InputUrl(id=InputUrl.generate_id())]
     cat.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(cat, settings, client)
Ejemplo n.º 13
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tr = TimeshiftRecorderStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     tr.visible = False
     tr.input = [InputUrl(id=InputUrl.generate_id())]
     return cls(tr, settings, client)
Ejemplo n.º 14
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     vod = VodEncodeStream()
     vod.loop = False
     vod.input = [InputUrl(id=InputUrl.generate_id())]
     vod.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(vod, settings, client)
Ejemplo n.º 15
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     event = EventStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     event.input = [InputUrl(id=InputUrl.generate_id())]
     event.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(event, settings, client)
Ejemplo n.º 16
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     event = EventStream()
     event.input = [InputUrl(id=InputUrl.generate_id())]
     event.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(event, settings, client)
Ejemplo n.º 17
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     encode = EncodeStream()
     encode.input = [InputUrl(id=InputUrl.generate_id())]
     encode.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(encode, settings, client)
Ejemplo n.º 18
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     relay = RelayStream()
     relay.input = [InputUrl(id=InputUrl.generate_id())]
     relay.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(relay, settings, client)
Ejemplo n.º 19
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     hard = HardwareStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     hard.input = [InputUrl(id=InputUrl.generate_id())]
     hard.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(hard, settings, client)