Beispiel #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)
Beispiel #2
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)
Beispiel #3
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)
Beispiel #4
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)
Beispiel #5
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)
Beispiel #6
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)
Beispiel #7
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)
Beispiel #8
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)