Exemple #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)
Exemple #2
0
 def make_cod_encode_stream(self) -> CodEncodeStream:
     return CodEncodeStream.make_stream(self._settings)
Exemple #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)
Exemple #4
0
 def make_entry(self):
     return self.update_entry(CodEncodeStream())
Exemple #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)