Calms
Calms
SMSoftware Mansion
Created by Calms on 1/20/2024 in #membrane-help
Clustering and scale out behaviour
No worries, I think I've worked out a viable solution (but will have to address some of my own quirks). Thanks!
9 replies
SMSoftware Mansion
Created by Calms on 1/20/2024 in #membrane-help
Clustering and scale out behaviour
In the scenario provided, node 1 and node 2 are on different machines. I totally understand many pipelines can be spawned on a single node but there's going to be a resource limit eventually. Are there plans to support load balancing of some sort, or does the network basically need to know which node to send it to? 🤔
9 replies
SMSoftware Mansion
Created by Calms on 1/20/2024 in #membrane-help
Clustering and scale out behaviour
Playing through a hypothetical scenario where: - there is an incoming RTP stream from a client - server side, there's two nodes behind a UDP load balancer. The initial packet (which triggers the first :new_rtp_stream) lands on node 1, which creates the membrane pipeline. The next packet could land on node 2. Currently I think this triggers another :new_rtp_stream and if RTSP is being used, it will probably cause :auth_fail errors since the encrypted stream is mismatched between node 1 and 2. Ideally, there probably needs to be a mechanism for node 2 to pass the packet to node 1 for processing (?).
9 replies
SMSoftware Mansion
Created by Calms on 1/20/2024 in #membrane-help
Clustering and scale out behaviour
But then an incoming stream needs to be associated with the same node after the load balancer decides and UDP doesn't have sticky packets 🤔
9 replies
SMSoftware Mansion
Created by Calms on 1/20/2024 in #membrane-help
Clustering and scale out behaviour
Yep that's the thinking. Inbound streams need to be load balanced somehow, right? 🤔
9 replies
SMSoftware Mansion
Created by Calms on 1/16/2024 in #membrane-help
Debugging bundlex/unifex errors
From my perspective I did the usual: - get frustratingly stuck on a problem - hesitantly post questions in hopes for insights - go source diving - consult the rubber duck - discover my own stupidity - come back to close the loop
7 replies
SMSoftware Mansion
Created by Calms on 1/16/2024 in #membrane-help
Debugging bundlex/unifex errors
Hm, I'm using the discord client and didn't notice anything related to answeroverflow.com
7 replies
SMSoftware Mansion
Created by Calms on 1/16/2024 in #membrane-help
Debugging bundlex/unifex errors
Worked out that precompiled dependencies can be disabled via: config :bundlex, :disable_precompiled_os_deps, true and this resolves the issue - yay.
7 replies
SMSoftware Mansion
Created by Calms on 7/21/2023 in #membrane-help
RTP demo with RawAudio
With that in place, this now works (although it's super quiet...) - happy to mark this as solved. If you had any tips on volume, I'd be all ears though!
6 replies
SMSoftware Mansion
Created by Calms on 7/21/2023 in #membrane-help
RTP demo with RawAudio
Ah, that does indeed solve the problem with buffer.pts! Many thanks!
6 replies
SMSoftware Mansion
Created by Calms on 7/21/2023 in #membrane-help
RTP demo with RawAudio
Although I don't quite understand why I'm hitting this issue when membrane-demo/rtp works fine - perhaps a difference with the underlying RawAudio stream instead of a file?
6 replies
SMSoftware Mansion
Created by Calms on 7/21/2023 in #membrane-help
RTP demo with RawAudio
Ah, just stumbled across this issue: https://github.com/membraneframework/membrane_opus_plugin/issues/22 Looks like I wasn't going mad after all - opus plugin doesn't support it yet.
6 replies