odingrail
SMSoftware Mansion
•Created by odingrail on 10/24/2024 in #membrane-help
HTTP adaptive stream continuous segments
Hey there! I have a question regarding https://github.com/membraneframework/membrane_http_adaptive_stream_plugin library. Is there a way to configure the starting number for the segment, partial_segment or header? The use case is - we want to keep the segments, headers and partial segments counter continuous after restarting the stream.
Is that even possible?
Any points against such an approach?
Will be greatful for the answers! 🙏
2 replies
SMSoftware Mansion
•Created by odingrail on 7/30/2024 in #membrane-help
Retransmit received RTP packets in secure way
Hello! We are working on SFU at the moment and we want to receive RTP packet from one peer, and broadcast it to multiple "listeners".
We doing following in the code (we do not match to track_id because there is only video we experimenting with):
However, this approach is clearly break the cryptography part of the transmission. So what do we have to do? The first thought was to use the ExLibSRTP to
unprotect
and then protect
the packet for each peer, but we don't have a direct access to DTLS transport as it's a private part of the PeerConnection
.15 replies
SMSoftware Mansion
•Created by odingrail on 7/23/2024 in #membrane-help
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!6 replies