Problem with WebRtc SendRecv Example

Peter Biro pettair at gmail.com
Wed Dec 9 15:38:27 UTC 2020


Hi,

It is maybe due to that webrtcbin doesn't support mDNS ice candidates:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1139 <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1139>

It was solved in 1.17.90 release, in the meantime you can disable mDNS in chrome (but it will be removed in future as already removed for other browsers).

First you need to enable:
chrome://flags/#temporary-unexpire-flags-m85 <chrome://flags/#temporary-unexpire-flags-m85>

After setting it this will be visible:
chrome://flags/#enable-webrtc-hide-local-ips-with-mdns
and here you need to disable "Anonymize local IPs exposed by WebRTC.".

But webrtc is a complex beast so it can be any other thing, but its worth try these flags and if it is working then you can test is you have this issue or not.

Bests,
Peter


> On 2020. Dec 9., at 13:34, Jon Lovewell <jon at csoftware.co.uk> wrote:
> 
> All
>  
> I am having problems getting the C# version of the WebRtc SendRecv example to work.
>  
> I can see both peers connecting to the signaling server and message exchanges taking place but no audio/video ever gets transmitted to the browser.
>  
> I believe the issue comes down to the ICE candidate message being sent from the browser, please see the log entries below (they are consecutive).
>  
> 0:00:01.319596700 38484   05E13C30 LOG                webrtcbin gstwebrtcbin.c:2993:_add_ice_candidate:<sendrecv> adding ICE candidate with mline:0, a=candidate:2589271750 1 udp 2113937151 9228adfe-2557-45a9-bd35-679d37fe1234.local 49755 typ host generation 0 ufrag +uGI network-cost 999
> 0:00:01.319641700 38484   05E13C30 WARN               webrtcice gstwebrtcice.c:622:gst_webrtc_ice_add_candidate:<webrtcice0> Could not parse candidate 'a=candidate:2589271750 1 udp 2113937151 9228adfe-2557-45a9-bd35-679d37fe1234.local 49755 typ host generation 0 ufrag +uGI network-cost 999'
>  
> I am using GStreamer V 1.16.2 and GstSharp V 1.16.0.  The OS is Windows 10 64 bit.  All the software is running on a single machine using localhost.  Log Level set to *:3,webrtc*:9,dtls*:9
>  
> Very grateful for any help or assistance.
>  
> Kind Regards
>  
> Jon
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201209/17ebb1b3/attachment.htm>


More information about the gstreamer-devel mailing list