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)
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)
def make_stream(cls, settings: ServiceSettings, client: ServiceClient): cat = CatchupStream() cat.input = [InputUrl(id=InputUrl.generate_id())] return cls(cat, settings, client)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)