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): proxy = ProxyVodStream(name=IStreamObject.DEFAULT_STREAM_NAME, tvg_logo=IStreamObject.DEFAULT_ICON_URL) proxy.input = [InputUrl(id=InputUrl.generate_id())] proxy.output = [OutputUrl(id=OutputUrl.generate_id())] return cls(proxy, settings)