Exemplo n.º 1
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cod = CodEncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cod.input = [InputUrl.make_stub()]
     cod.output = [OutputUrl.make_stub()]
     IStreamObject.fill_defaults(cod)
     return cls(cod, settings, client)
Exemplo n.º 2
0
 def make_cod_encode_stream(self) -> CodEncodeStream:
     return CodEncodeStream.make_stream(self._settings)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 def make_entry(self):
     return self.update_entry(CodEncodeStream())
Exemplo n.º 5
0
 def make_stream(cls, settings: ServiceSettings, client: ServiceClient):
     cod = CodEncodeStream(name=IStreamObject.DEFAULT_STREAM_NAME)
     cod.input = [InputUrl(id=InputUrl.generate_id())]
     cod.output = [OutputUrl(id=OutputUrl.generate_id())]
     return cls(cod, settings, client)