membrane_webrtc_plugin: %Membrane.Buffer with pts: nil, dts: nil received from audio track.
Hello, and thank you for the great ecosystem of libraries! 🙏
Currently, I'm working on SFU, which will utilize the
membrane_webrtc_plugin
to connect the streamer and the viewers.
Everything is working pretty fine with video track. However, when I'm adding the audio one I'm starting to receive a bunch of errors, namely:
1) ArgumentError from membrane_realtimer_plugin, handle_buffer/4 function where it essentially tries to do subtraction from nil:
2) membrane_webrtc_plugin itself in sink.ex, handle_buffer fails for the exact reason, when the both dts and pts are nil.
So my question is: is it a bug, or I'm doing something wrong with the pipeline? When I apply fixes to both problems the pipeline seems to be working fine.
The example of the audio spec:
Looking forward to submit my local fixes if it's relevant. Otherwise hope to hear from you on that matter!5 Replies