Esempio n. 1
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     vod = VodEncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     vod.loop = False
     vod.input = [InputUrl.make_stub()]
     vod.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(vod)
     return cls(vod, settings, client)
Esempio n. 2
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     test = TestLifeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     test.visible = False
     test.input = [InputUrl.make_stub()]
     test.output = [OutputUrl.make_test()]
     IStreamObject.fill_defaults(test)
     return cls(test, settings, client)
Esempio n. 3
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     event = EventStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     event.input = [InputUrl.make_stub()]
     event.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(event)
     return cls(event, settings, client)
Esempio n. 4
0
 def make_stream(cls, settings: ServiceSettings):
     proxy = ProxyVodStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     proxy.input = [InputUrl.make_stub()]
     proxy.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(proxy)
     return cls(proxy, settings)
Esempio n. 5
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cod = CodRelayStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cod.input = [InputUrl.make_stub()]
     cod.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(cod)
     return cls(cod, settings, client)
Esempio n. 6
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tp = TimeshiftPlayerStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     tp.input = [InputUrl.make_stub()]
     tp.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(tp)
     return cls(tp, settings, client)
Esempio n. 7
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cat = CatchupStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cat.input = [InputUrl.make_stub()]
     cat.output = [OutputUrl.make_default_http()]
     IStreamObject.fill_defaults(cat)
     return cls(cat, settings, client)
Esempio n. 8
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     tr = TimeshiftRecorderStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     tr.visible = False
     tr.input = [InputUrl.make_stub()]
     IStreamObject.fill_defaults(tr)
     return cls(tr, settings, client)
Esempio n. 9
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     encode = EncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     encode.input = [InputUrl.make_stub()]
     encode.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(encode)
     return cls(encode, settings, client)
Esempio n. 10
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     relay = RelayStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     relay.input = [InputUrl.make_stub()]
     relay.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(relay)
     return cls(relay, settings, client)
Esempio n. 11
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     hard = HardwareStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     hard.input = [InputUrl.make_stub()]
     hard.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(hard)
     return cls(hard, settings, client)