the examples mediasoup.py demo code, use one videoTrack and one audioTrack, it seems that a videoTrack corresponds to a videoProducer, and a audioTrack corresponds to a audioProducer.
Init load device depends on self._tracks.
self._tracks.append(videoTrack)
self._tracks.append(audioTrack)
self._device = Device(
handlerFactory=AiortcHandler.createFactory(tracks=self._tracks)
)
the examples mediasoup.py demo code, use one videoTrack and one audioTrack, it seems that a videoTrack corresponds to a videoProducer, and a audioTrack corresponds to a audioProducer. Init load device depends on self._tracks. self._tracks.append(videoTrack) self._tracks.append(audioTrack) self._device = Device( handlerFactory=AiortcHandler.createFactory(tracks=self._tracks) )
Thanks a lot!