예제 #1
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)
예제 #2
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)
예제 #3
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)