Problem with WebRtc SendRecv Example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with WebRtc SendRecv Example

Jon L

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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with WebRtc SendRecv Example

Peter Biro
Hi,

It is maybe due to that webrtcbin doesn't support mDNS ice candidates:

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:
<a href="chrome://flags/#temporary-unexpire-flags-m85" class="">chrome://flags/#temporary-unexpire-flags-m85

After setting it this will be visible:
<a href="chrome://flags/#enable-webrtc-hide-local-ips-with-mdns" class="">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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel