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