skymaze / pymediasoup

mediasoup python client
MIT License
26 stars 14 forks source link

How do I use pymediasoup to get audio data from the mediasoup server? #10

Closed jacobtang closed 8 months ago

jacobtang commented 9 months ago

mediasoup.py The example can use "record-to" command to save media file when get get media data from the mediasoup server , but can i get the raw audio/video callback data for for further use? not to record or playback by the system directly. Thanks!

skymaze commented 9 months ago

You can handle the track manually MediaStreamTrack

skymaze commented 9 months ago

You can implement a media processing class MediaRecorder , then use an instance of your class here demo