DJMAKEITBRAIN
DJMAKEITBRAIN
Explore posts from servers
SMSoftware Mansion
Created by DJMAKEITBRAIN on 8/29/2024 in #membrane-help
WebRTC TURN TCP/TLS configuration issue
Hey! I'm loving the framework - using it in production with great success. We've got some users who (I think) are having trouble making the TURN connection to our server using UDP - typically these users are on restrictive corporate VPNs. My thought is that setting up our TCP/TLS TURN properly might help. I've set it up similar to this: https://github.com/fishjam-dev/membrane_rtc_engine/blob/eb8f97d254f5925139cdc1e76df0ecd0ac4977e9/examples/webrtc_to_hls/lib/webrtc_to_hls/stream.ex#L150 However, it doesn't seem to be working out. On Chrome, I see WebRTC debug errors like this:
icecandidateerror
url: turn:IP-REDACTED:3478?transport=tcp
address: 192.168.0.x
port: 61317
host_candidate: 192.168.0.x:61317
error_text: Address not associated with the desired network interface.
error_code: 600
icecandidateerror
url: turn:IP-REDACTED:3478?transport=tcp
address: 192.168.0.x
port: 61317
host_candidate: 192.168.0.x:61317
error_text: Address not associated with the desired network interface.
error_code: 600
And on Firefox I get an error
stun error code 401
stun error code 401
Do you know what I might be doing wrong in my configuration?
4 replies
WWindmill
Created by DJMAKEITBRAIN on 4/2/2024 in #help
Setting content-type in S3 File Uploader
Hey! Is it possible to set a content-type for the uploaded file in the S3 File Uploader? If that property isn't set, everythig defaults to application/octet-stream, which I need to override. If it's not possible, I'll need to put together a Script to use the S3 API to set the content-type after the file is already uploaded, but that's far from ideal. Any help would be much appreciated!
4 replies
SMSoftware Mansion
Created by DJMAKEITBRAIN on 6/22/2023 in #membrane-help
Unable to create new endpoints in Membrane RTC Engine 0.14.0
A change was made to the RTC engine, implementing a to_type_string function for all existing endpoints. This function seems to be necessary for an endpoint to be added. This has the side-effect of removing the ability to create new endpoints - only the predefined ones are allowed: https://github.com/jellyfish-dev/membrane_rtc_engine/blame/master/lib/membrane_rtc_engine/endpoints/webrtc/media_event.ex#L366-L368 Can this be worked around? Was this an intended outcome?
4 replies
SMSoftware Mansion
Created by DJMAKEITBRAIN on 6/16/2023 in #membrane-help
How to generate SSL certs for membrane_rtc_engine dTLS?
Do you have any recommendations on how to obtain SSL certs for use in the handshake_opts of the WebRTC Endpoint?
2 replies
SMSoftware Mansion
Created by DJMAKEITBRAIN on 4/28/2023 in #membrane-help
Membrane.Source example for RTC Engine
Hi! I'm trying to implement a solution in which I can stream audio from an API to the client via the Membrane RTC Engine. I'm basing my Membrane.Source implementation on Membrane.Hackney.Source, but now I'm a bit stuck on getting the audio to send from that to the WebRTC Endpoint. I've created an endpoint that fowards the output of my pad to Membrane.RTC.Engine.Endpoint.WebRTC.TrackSender, but I'm wondering: 1. Is this the right approach? 2. If so, where do I get the correct track with which to configure the TrackSender? If there are any examples out there implementing any sort of Source-based Membrane RTC Endpoint, I'd love to study it. Thanks!
15 replies