simple-whip-client
simple-whip-client copied to clipboard
Error creating GUPnP context: Failed to bind socketError binding to address 10.10.10.122:1990: Cannot assign requested address
Hi,
I'm using simple-whip-client to broadcast to Dolby. I found that this error Error creating GUPnP context: Failed to bind socketError binding to address 10.10.10.122:1990: Cannot assign requested address always occur after running for around 1-2 hours. During this time nothing was changed. And there are not much debug information for this. What might be the cause of this problem? Any help would be appreciated.
Thank you!
Hi there, we also have this issue.
@bigbean17 Do you already have more information on this?
@jessedewild Sorry, not much information I can provide. I couldn't solve this issue so I switched to gstreamer.
And are you using it with the WHIP server? Or can you give me an example of how you are using GStreamer?
Not sure about your case, I'm trying to stream from an Axis camera to Dolby, so I followed this document . If you are streaming to Dolby as well, you could open a ticket if the example in the document does not work. Hope that helps.
Alright thanks! One more question, do you have a screenshot of when the error occurred in the logs? That way I can implement a restart feature for when that error appears.
Apologies for the delay in this response.
It looks like the way GStreamer's webrtcbin uses libnice, it's not disabling UPNP (as we do in Janus, instead). Considering UPNP is useless in WebRTC, my guess is that getting it to be disabled in there would fix your issue.
I don't think there's an easy way to do that programmatically (e.g., finding the nice object in webrtcbin, accessing the NiceAgent instance somehow, and do it there using libnice's API), so fixing this upstream in GStreamer may be easier.
@bigbean17 @jessedewild FYI, I opened a suggestion to disable UPNP in webrtcbin on the GStreamer repo:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3832
If you have more info on what happens, as in the specific issue you experience when you see those errors in the logs, please consider providing it there too. This is to ensure the UPNP log message is not just a red herring, and the cause of the issue potentially being somewhere else.
Is it possible to disable UPNP programmatically then? Or is that sadly not possible? We are using GStreamer 18, because it is installed on an older Debian version