Starting the base output transport only after starting the small webrtc transport.

This commit is contained in:
Filipi Fuchter
2025-05-05 17:12:31 -03:00
parent d2bf8321a0
commit 37d15588b8

View File

@@ -484,9 +484,10 @@ class SmallWebRTCOutputTransport(BaseOutputTransport):
self._params = params
async def start(self, frame: StartFrame):
await super().start(frame)
await self._client.setup(self._params, frame)
await self._client.connect()
# Parent start.
await super().start(frame)
async def stop(self, frame: EndFrame):
await super().stop(frame)