webrtc-unidirectional-h264 fails to display output
Hello all, I am trying to build an application on a Jetson Xavier in which I have the necessity to send video stream from server to client, and I think the most portable way is using some of the HTML standard, and so WebRTC due the low latency required (and high platform support, even mobile).
I'm trying to use the WebRTC unidirectional sample, everything seems to run fine but I have no video output.
As per title, I used the webrtc-unidirectional-h264
demo, with some edit to compile in my setup (I am on Ubuntu 18.04 with gstreamer 1.14 from the repository)
- the source part of video and audio, using the default
videotestsrc
andaudiotestsrc
. - I commented the lines for video and audio priority and the utility function for translating the error in string representation, due to compilation and linking errors.
- Removed
aggregate-mode=zero-latency
due to errorCould not create WebRTC pipeline: no property "aggregate-mode" in element "payloader"
Here is the diff file to replicate the behaviour from 1.19.1 (full procedure to replicate: git clone https://gitlab.freedesktop.org/gstreamer/gst-examples.git && cd gst-examples && git checkout 1.19.1
, then copy this subsequent section in a file named patched_version.patch
in the root of the git repository, then run patch webrtc/sendonly/webrtc-unidirectional-h264.c patched_version.patch
)
patched_version.patch
--- webrtc/sendonly/webrtc-unidirectional-h264.c 2021-06-01 20:32:38.781154551 +0200
+++ webrtc/sendonly//webrtc-unidirectional-h264-patched.c 2021-06-01 21:21:48.728041670 +0200
@@ -22,7 +22,7 @@
#ifdef G_OS_WIN32
#define VIDEO_SRC "mfvideosrc"
#else
-#define VIDEO_SRC "v4l2src"
+#define VIDEO_SRC "videotestsrc"
#endif
gchar *video_priority = NULL;
@@ -199,7 +199,7 @@
return G_SOURCE_CONTINUE;
}
-static GstWebRTCPriorityType
+/*static GstWebRTCPriorityType
_priority_from_string (const gchar * s)
{
GEnumClass *klass =
@@ -215,7 +215,7 @@
return en->value;
return 0;
-}
+}*/
ReceiverEntry *
create_receiver_entry (SoupWebsocketConnection * connection)
@@ -240,10 +240,10 @@
STUN_SERVER " "
VIDEO_SRC
" ! videorate ! videoscale ! video/x-raw,width=640,height=360,framerate=15/1 ! videoconvert ! queue max-size-buffers=1 ! x264enc bitrate=600 speed-preset=ultrafast tune=zerolatency key-int-max=15 ! video/x-h264,profile=constrained-baseline ! queue max-size-time=100000000 ! h264parse ! "
- "rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! "
+ "rtph264pay config-interval=-1 name=payloader ! "
"application/x-rtp,media=video,encoding-name=H264,payload="
RTP_PAYLOAD_TYPE " ! webrtcbin. "
- "autoaudiosrc is-live=1 ! queue max-size-buffers=1 leaky=downstream ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt="
+ "audiotestsrc is-live=1 ! queue max-size-buffers=1 leaky=downstream ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt="
RTP_AUDIO_PAYLOAD_TYPE " ! webrtcbin. ", &error);
if (error != NULL) {
g_error ("Could not create WebRTC pipeline: %s\n", error->message);
@@ -258,7 +258,7 @@
g_signal_emit_by_name (receiver_entry->webrtcbin, "get-transceivers",
&transceivers);
g_assert (transceivers != NULL && transceivers->len > 1);
- trans = g_array_index (transceivers, GstWebRTCRTPTransceiver *, 0);
+ /*trans = g_array_index (transceivers, GstWebRTCRTPTransceiver *, 0);
g_object_set (trans, "direction",
GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, NULL);
if (video_priority) {
@@ -287,7 +287,7 @@
gst_webrtc_rtp_sender_set_priority (sender, priority);
g_object_unref (sender);
}
- }
+ }*/
g_array_unref (transceivers);
g_signal_connect (receiver_entry->webrtcbin, "on-negotiation-needed",
The system compiles correctly, when I run it I have tons of messages about data exchange, however the player does not show anything, nor in Safari, Chromium, Edge or Opera. Is there something that I am missing?
The logs are the same if I connect locally using 127.0.0.1, so I doubt is something related to the network. Maybe something about encoding capabilities?
Some log I hope it is useful to debug the error:
Safari @ MacOS
[Log] Incoming SDP: {"type":"offer","sdp":"v=0\r\no=- 1993126931275653819 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=ice-options:trickle\r\na=msid-semantic:WMS webrtcbin\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=setup:actpass\r\na=ice-ufrag:lu20D3z3LHl0iI7TTqqP3YNuTJFz2man\r\na=ice-pwd:cE7Tiga1Gn6B4l7awi03PWEWcIoyKZDF\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 nack pli\r\na=framerate:15\r\na=fmtp:96 packetization-mode=1;profile-level-id=42c016;sprop-parameter-sets=Z0LAFtoCgL/lwFqDAILSgAAAAwCAAAAPR4sXUA==,aM48gA==\r\na=ssrc:233037786 msid:user1164376075@host-e25a6bc4 webrtctransceiver0\r\na=ssrc:233037786 cname:user1164376075@host-e25a6bc4\r\na=mid:video0\r\na=fingerprint:sha-256 99:CB:AF:CE:97:F2:0E:D3:F5:61:13:FD:17:BB:8D:CD:A7:54:59:01:F6:7F:61:19:D2:61:DB:F9:54:50:8D:F2\r\nm=audio 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=setup:actpass\r\na=ice-ufrag:jiXz4+d9nMxSw2gES5uRhSElKaBfb7wa\r\na=ice-pwd:qUHdeb9acBBicA3c/xhRsglpOU6vPyn3\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:97 OPUS/48000/2\r\na=rtcp-fb:97 nack pli\r\na=fmtp:97 sprop-maxcapturerate=48000;sprop-stereo=0\r\na=ssrc:1847010302 msid:user1164376075@host-e25a6bc4 webrtctransceiver1\r\na=ssrc:1847010302 cname:user1164376075@host-e25a6bc4\r\na=mid:audio1\r\na=fingerprint:sha-256 99:CB:AF:CE:97:F2:0E:D3:F5:61:13:FD:17:BB:8D:CD:A7:54:59:01:F6:7F:61:19:D2:61:DB:F9:54:50:8D:F2\r\n"} (157.27.80.134, line 22) [Log] Local description: {"sdp":"v=0\r\no=- 5980986696117147367 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:69+c\r\na=ice-pwd:A0ZeA33MjFaVzV0OVrGCIA/7\r\na=ice-options:trickle\r\na=fingerprint:sha-256 88:EC:D2:07:F5:EF:B2:37:AD:32:BD:A1:8F:C2:E4:F7:30:3B:36:42:E7:4F:A9:76:C2:A4:F3:E8:B5:3A:CD:23\r\na=setup:active\r\na=mid:video0\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 nack pli\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e016\r\nm=audio 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:oIzh\r\na=ice-pwd:zBL+E+mjO5048bjTDAc2EM8R\r\na=ice-options:trickle\r\na=fingerprint:sha-256 88:EC:D2:07:F5:EF:B2:37:AD:32:BD:A1:8F:C2:E4:F7:30:3B:36:42:E7:4F:A9:76:C2:A4:F3:E8:B5:3A:CD:23\r\na=setup:active\r\na=mid:audio1\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:97 OPUS/48000/2\r\na=fmtp:97 minptime=10;useinbandfec=1\r\n","type":"answer"} (157.27.80.134, line 14) [Log] Sending ICE candidate out: {"candidate":"candidate:1877728010 1 udp 2113937151 14bfa68a-875a-4057-aebc-48b4728b2eac.local 51213 typ host generation 0 ufrag oIzh network-cost 999","sdpMLineIndex":1,"sdpMid":"audio1","usernameFragment":null} (157.27.80.134, line 44) [Log] Sending ICE candidate out: {"candidate":"candidate:1877728010 1 udp 2113937151 14bfa68a-875a-4057-aebc-48b4728b2eac.local 62754 typ host generation 0 ufrag 69+c network-cost 999","sdpMLineIndex":0,"sdpMid":"video0","usernameFragment":null} (157.27.80.134, line 44) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:1 1 UDP 2013266431 fe80::49f3:4acc:efb5:1837 58777 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:2 1 TCP 1015023871 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:3 1 TCP 1010829567 fe80::49f3:4acc:efb5:1837 47601 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:4 1 UDP 2013266430 fe80::f3c6:4f64:58e3:df95 36294 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:5 1 TCP 1015023870 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:6 1 TCP 1010829566 fe80::f3c6:4f64:58e3:df95 56049 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:7 1 UDP 2013266429 fe80::ec51:750e:663d:bb6e 52203 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:8 1 TCP 1015023869 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:9 1 TCP 1010829565 fe80::ec51:750e:663d:bb6e 42185 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:10 1 UDP 2013266428 169.254.195.26 39135 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:11 1 TCP 1015022591 169.254.195.26 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:12 1 TCP 1010828287 169.254.195.26 33827 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:13 1 UDP 2013266427 192.168.0.1 36804 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:14 1 TCP 1015022847 192.168.0.1 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:15 1 TCP 1010828543 192.168.0.1 44843 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:16 1 UDP 2013266426 157.27.80.134 35701 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:17 1 TCP 1015023103 157.27.80.134 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:18 1 TCP 1010828799 157.27.80.134 44877 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:1 2 UDP 2013266430 fe80::49f3:4acc:efb5:1837 54777 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:2 2 TCP 1015023870 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:3 2 TCP 1010829566 fe80::49f3:4acc:efb5:1837 51639 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:4 2 UDP 2013266429 fe80::f3c6:4f64:58e3:df95 33929 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:5 2 TCP 1015023869 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:6 2 TCP 1010829565 fe80::f3c6:4f64:58e3:df95 53389 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:7 2 UDP 2013266428 fe80::ec51:750e:663d:bb6e 35910 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:8 2 TCP 1015023868 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:9 2 TCP 1010829564 fe80::ec51:750e:663d:bb6e 34779 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:10 2 UDP 2013266427 169.254.195.26 58901 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:11 2 TCP 1015022590 169.254.195.26 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:12 2 TCP 1010828286 169.254.195.26 40087 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:13 2 UDP 2013266426 192.168.0.1 39228 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:14 2 TCP 1015022846 192.168.0.1 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:15 2 TCP 1010828542 192.168.0.1 60339 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:16 2 UDP 2013266425 157.27.80.134 46482 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:17 2 TCP 1015023102 157.27.80.134 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:18 2 TCP 1010828798 157.27.80.134 48353 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:1 1 UDP 2013266431 fe80::49f3:4acc:efb5:1837 41140 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:2 1 TCP 1015023871 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:3 1 TCP 1010829567 fe80::49f3:4acc:efb5:1837 49645 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:4 1 UDP 2013266430 fe80::f3c6:4f64:58e3:df95 37794 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:5 1 TCP 1015023870 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:6 1 TCP 1010829566 fe80::f3c6:4f64:58e3:df95 39619 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:7 1 UDP 2013266429 fe80::ec51:750e:663d:bb6e 35206 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:8 1 TCP 1015023869 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:9 1 TCP 1010829565 fe80::ec51:750e:663d:bb6e 47651 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:10 1 UDP 2013266428 169.254.195.26 49870 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:11 1 TCP 1015022591 169.254.195.26 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:12 1 TCP 1010828287 169.254.195.26 44095 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:13 1 UDP 2013266427 192.168.0.1 55002 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:14 1 TCP 1015022847 192.168.0.1 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:15 1 TCP 1010828543 192.168.0.1 53537 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:16 1 UDP 2013266426 157.27.80.134 46528 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:17 1 TCP 1015023103 157.27.80.134 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:18 1 TCP 1010828799 157.27.80.134 41657 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:1 2 UDP 2013266430 fe80::49f3:4acc:efb5:1837 50358 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:2 2 TCP 1015023870 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:3 2 TCP 1010829566 fe80::49f3:4acc:efb5:1837 52689 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:4 2 UDP 2013266429 fe80::f3c6:4f64:58e3:df95 48415 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:5 2 TCP 1015023869 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:6 2 TCP 1010829565 fe80::f3c6:4f64:58e3:df95 50535 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:7 2 UDP 2013266428 fe80::ec51:750e:663d:bb6e 59398 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:8 2 TCP 1015023868 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:9 2 TCP 1010829564 fe80::ec51:750e:663d:bb6e 48291 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:10 2 UDP 2013266427 169.254.195.26 46775 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:11 2 TCP 1015022590 169.254.195.26 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:12 2 TCP 1010828286 169.254.195.26 58301 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:13 2 UDP 2013266426 192.168.0.1 54679 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:14 2 TCP 1015022846 192.168.0.1 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:15 2 TCP 1010828542 192.168.0.1 47019 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:16 2 UDP 2013266425 157.27.80.134 58716 typ host"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:17 2 TCP 1015023102 157.27.80.134 9 typ host tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:18 2 TCP 1010828798 157.27.80.134 39461 typ host tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:19 1 UDP 1677722111 157.27.80.134 39135 typ srflx raddr 169.254.195.26 rport 39135"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:20 1 TCP 847250431 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:21 1 TCP 843056127 157.27.80.134 33827 typ srflx raddr 169.254.195.26 rport 33827 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:19 2 UDP 1677722110 157.27.80.134 58901 typ srflx raddr 169.254.195.26 rport 58901"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:22 1 UDP 1677722110 157.27.80.134 36804 typ srflx raddr 192.168.0.1 rport 36804"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:23 1 TCP 847250687 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:24 1 TCP 843056383 157.27.80.134 44843 typ srflx raddr 192.168.0.1 rport 44843 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:20 2 TCP 847250430 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:21 2 TCP 843056126 157.27.80.134 40087 typ srflx raddr 169.254.195.26 rport 40087 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:22 2 UDP 1677722109 157.27.80.134 39228 typ srflx raddr 192.168.0.1 rport 39228"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:23 2 TCP 847250686 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:24 2 TCP 843056382 157.27.80.134 60339 typ srflx raddr 192.168.0.1 rport 60339 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:19 1 UDP 1677722111 157.27.80.134 49870 typ srflx raddr 169.254.195.26 rport 49870"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:20 1 TCP 847250431 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:21 1 TCP 843056127 157.27.80.134 44095 typ srflx raddr 169.254.195.26 rport 44095 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:19 2 UDP 1677722110 157.27.80.134 46775 typ srflx raddr 169.254.195.26 rport 46775"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:20 2 TCP 847250430 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:21 2 TCP 843056126 157.27.80.134 58301 typ srflx raddr 169.254.195.26 rport 58301 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:22 1 UDP 1677722110 157.27.80.134 55002 typ srflx raddr 192.168.0.1 rport 55002"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:22 2 UDP 1677722109 157.27.80.134 54679 typ srflx raddr 192.168.0.1 rport 54679"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:23 1 TCP 847250687 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:23 2 TCP 847250686 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:24 1 TCP 843056383 157.27.80.134 53537 typ srflx raddr 192.168.0.1 rport 53537 tcptype passive"} (157.27.80.134, line 30) [Log] Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:24 2 TCP 843056382 157.27.80.134 47019 typ srflx raddr 192.168.0.1 rport 47019 tcptype passive"} (157.27.80.134, line 30)Host stdout
nvidia@nvidia-desktop:~/test_webrtc$ mak webrtc-unidirectional-h264 && ./webrtc-unidirectional-h264 "gcc" -O0 -ggdb -Wall -fno-omit-frame-pointer webrtc-unidirectional-h264-v2.c -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgstwebrtc-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgstsdp-1.0 -lsoup-2.4 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -o webrtc-unidirectional-h264 webrtc-unidirectional-h264-v2.c: In function ‘create_receiver_entry’: webrtc-unidirectional-h264-v2.c:225:28: warning: unused variable ‘trans’ [-Wunused-variable] GstWebRTCRTPTransceiver *trans; ^~~~~ WebRTC page link: http://127.0.0.1:57778/ Processing new websocket connection 0x559d299b20Creating negotiation offer Negotiation offer created: v=0 o=- 1993126931275653819 0 IN IP4 0.0.0.0 s=- t=0 0 a=ice-options:trickle a=msid-semantic:WMS webrtcbin m=video 9 UDP/TLS/RTP/SAVPF 96 c=IN IP4 0.0.0.0 a=setup:actpass a=ice-ufrag:lu20D3z3LHl0iI7TTqqP3YNuTJFz2man a=ice-pwd:cE7Tiga1Gn6B4l7awi03PWEWcIoyKZDF a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 nack pli a=framerate:15 a=fmtp:96 packetization-mode=1;profile-level-id=42c016;sprop-parameter-sets=Z0LAFtoCgL/lwFqDAILSgAAAAwCAAAAPR4sXUA==,aM48gA== a=ssrc:233037786 msid:user1164376075@host-e25a6bc4 webrtctransceiver0 a=ssrc:233037786 cname:user1164376075@host-e25a6bc4 a=mid:video0 a=fingerprint:sha-256 99:CB:AF:CE:97:F2:0E:D3:F5:61:13:FD:17:BB:8D:CD:A7:54:59:01:F6:7F:61:19:D2:61:DB:F9:54:50:8D:F2 m=audio 9 UDP/TLS/RTP/SAVPF 97 c=IN IP4 0.0.0.0 a=setup:actpass a=ice-ufrag:jiXz4+d9nMxSw2gES5uRhSElKaBfb7wa a=ice-pwd:qUHdeb9acBBicA3c/xhRsglpOU6vPyn3 a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:97 OPUS/48000/2 a=rtcp-fb:97 nack pli a=fmtp:97 sprop-maxcapturerate=48000;sprop-stereo=0 a=ssrc:1847010302 msid:user1164376075@host-e25a6bc4 webrtctransceiver1 a=ssrc:1847010302 cname:user1164376075@host-e25a6bc4 a=mid:audio1 a=fingerprint:sha-256 99:CB:AF:CE:97:F2:0E:D3:F5:61:13:FD:17:BB:8D:CD:A7:54:59:01:F6:7F:61:19:D2:61:DB:F9:54:50:8D:F2Received SDP: v=0 o=- 5980986696117147367 2 IN IP4 127.0.0.1 s=- t=0 0 a=msid-semantic: WMS m=video 9 UDP/TLS/RTP/SAVPF 96 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:69+c a=ice-pwd:A0ZeA33MjFaVzV0OVrGCIA/7 a=ice-options:trickle a=fingerprint:sha-256 88:EC:D2:07:F5:EF:B2:37:AD:32:BD:A1:8F:C2:E4:F7:30:3B:36:42:E7:4F:A9:76:C2:A4:F3:E8:B5:3A:CD:23 a=setup:active a=mid:video0 a=recvonly a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e016 m=audio 9 UDP/TLS/RTP/SAVPF 97 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:oIzh a=ice-pwd:zBL+E+mjO5048bjTDAc2EM8R a=ice-options:trickle a=fingerprint:sha-256 88:EC:D2:07:F5:EF:B2:37:AD:32:BD:A1:8F:C2:E4:F7:30:3B:36:42:E7:4F:A9:76:C2:A4:F3:E8:B5:3A:CD:23 a=setup:active a=mid:audio1 a=recvonly a=rtcp-mux a=rtpmap:97 OPUS/48000/2 a=fmtp:97 minptime=10;useinbandfec=1
Received ICE candidate with mline index 1; candidate: candidate:1877728010 1 udp 2113937151 14bfa68a-875a-4057-aebc-48b4728b2eac.local 51213 typ host generation 0 ufrag oIzh network-cost 999 Received ICE candidate with mline index 0; candidate: candidate:1877728010 1 udp 2113937151 14bfa68a-875a-4057-aebc-48b4728b2eac.local 62754 typ host generation 0 ufrag 69+c network-cost 999
Using another browser and machine:
Opera @ Windows
(index):22 Incoming SDP: {"type":"offer","sdp":"v=0\r\no=- 4903925278861460350 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=ice-options:trickle\r\na=msid-semantic:WMS webrtcbin\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=setup:actpass\r\na=ice-ufrag:7gROvrrpx8z0NZy/+GwjQohAHY50nCNm\r\na=ice-pwd:3d1sSxhX+wt3ttv11LyINrHj28UPM1t0\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 nack pli\r\na=framerate:15\r\na=fmtp:96 packetization-mode=1;profile-level-id=42c016;sprop-parameter-sets=Z0LAFtoCgL/lwFqDAILSgAAAAwCAAAAPR4sXUA==,aM48gA==\r\na=ssrc:902117246 msid:user3654773533@host-dfba77e1 webrtctransceiver0\r\na=ssrc:902117246 cname:user3654773533@host-dfba77e1\r\na=mid:video0\r\na=fingerprint:sha-256 D7:1E:87:00:E0:B7:A1:CB:4C:C3:3B:4E:E2:0A:BA:0C:4A:CD:BF:18:EF:8E:4F:E7:47:A7:5D:08:50:1B:51:7C\r\nm=audio 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=setup:actpass\r\na=ice-ufrag:cvvx17DShIvGBa69E/dlFkSKjkAe3OVU\r\na=ice-pwd:25rmFouozTL3lrSiFm1s2kP66f9S1ith\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:97 OPUS/48000/2\r\na=rtcp-fb:97 nack pli\r\na=fmtp:97 sprop-maxcapturerate=48000;sprop-stereo=0\r\na=ssrc:3074109248 msid:user3654773533@host-dfba77e1 webrtctransceiver1\r\na=ssrc:3074109248 cname:user3654773533@host-dfba77e1\r\na=mid:audio1\r\na=fingerprint:sha-256 D7:1E:87:00:E0:B7:A1:CB:4C:C3:3B:4E:E2:0A:BA:0C:4A:CD:BF:18:EF:8E:4F:E7:47:A7:5D:08:50:1B:51:7C\r\n"} (index):14 Local description: {"type":"answer","sdp":"v=0\r\no=- 6754965593039382874 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Kx0A\r\na=ice-pwd:9qWarMkRC+Z+cK1RKHMPbxi2\r\na=ice-options:trickle\r\na=fingerprint:sha-256 13:F1:3E:68:9C:6D:1F:A8:88:49:1B:28:9F:02:A5:52:4F:13:68:C2:8E:DA:31:61:30:EA:33:1E:4A:55:A4:07\r\na=setup:active\r\na=mid:video0\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 nack pli\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e016\r\nm=audio 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:+oCb\r\na=ice-pwd:uIZ/DpMhf1HsT6Ou5YQWFybN\r\na=ice-options:trickle\r\na=fingerprint:sha-256 13:F1:3E:68:9C:6D:1F:A8:88:49:1B:28:9F:02:A5:52:4F:13:68:C2:8E:DA:31:61:30:EA:33:1E:4A:55:A4:07\r\na=setup:active\r\na=mid:audio1\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:97 OPUS/48000/2\r\na=fmtp:97 minptime=10;useinbandfec=1\r\n"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:1 1 UDP 2013266431 fe80::49f3:4acc:efb5:1837 44558 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:2 1 TCP 1015023871 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:3 1 TCP 1010829567 fe80::49f3:4acc:efb5:1837 37071 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:4 1 UDP 2013266430 fe80::f3c6:4f64:58e3:df95 46926 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:5 1 TCP 1015023870 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:6 1 TCP 1010829566 fe80::f3c6:4f64:58e3:df95 46221 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:7 1 UDP 2013266429 fe80::ec51:750e:663d:bb6e 57174 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:8 1 TCP 1015023869 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:9 1 TCP 1010829565 fe80::ec51:750e:663d:bb6e 58571 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:10 1 UDP 2013266428 169.254.195.26 48028 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:11 1 TCP 1015022591 169.254.195.26 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:12 1 TCP 1010828287 169.254.195.26 60573 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:13 1 UDP 2013266427 192.168.0.1 60112 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:14 1 TCP 1015022847 192.168.0.1 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:15 1 TCP 1010828543 192.168.0.1 52135 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:16 1 UDP 2013266426 157.27.80.134 34063 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:17 1 TCP 1015023103 157.27.80.134 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:18 1 TCP 1010828799 157.27.80.134 41497 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:1 2 UDP 2013266430 fe80::49f3:4acc:efb5:1837 57491 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:2 2 TCP 1015023870 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:3 2 TCP 1010829566 fe80::49f3:4acc:efb5:1837 44857 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:4 2 UDP 2013266429 fe80::f3c6:4f64:58e3:df95 45729 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:5 2 TCP 1015023869 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:6 2 TCP 1010829565 fe80::f3c6:4f64:58e3:df95 57241 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:7 2 UDP 2013266428 fe80::ec51:750e:663d:bb6e 44028 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:8 2 TCP 1015023868 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:9 2 TCP 1010829564 fe80::ec51:750e:663d:bb6e 59641 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:10 2 UDP 2013266427 169.254.195.26 59975 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:11 2 TCP 1015022590 169.254.195.26 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:12 2 TCP 1010828286 169.254.195.26 55665 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:13 2 UDP 2013266426 192.168.0.1 42344 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:14 2 TCP 1015022846 192.168.0.1 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:15 2 TCP 1010828542 192.168.0.1 38387 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:16 2 UDP 2013266425 157.27.80.134 41572 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:17 2 TCP 1015023102 157.27.80.134 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:18 2 TCP 1010828798 157.27.80.134 35429 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:1 1 UDP 2013266431 fe80::49f3:4acc:efb5:1837 38654 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:2 1 TCP 1015023871 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:3 1 TCP 1010829567 fe80::49f3:4acc:efb5:1837 41059 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:4 1 UDP 2013266430 fe80::f3c6:4f64:58e3:df95 52099 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:5 1 TCP 1015023870 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:6 1 TCP 1010829566 fe80::f3c6:4f64:58e3:df95 44093 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:7 1 UDP 2013266429 fe80::ec51:750e:663d:bb6e 34143 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:8 1 TCP 1015023869 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:9 1 TCP 1010829565 fe80::ec51:750e:663d:bb6e 55415 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:10 1 UDP 2013266428 169.254.195.26 52292 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:11 1 TCP 1015022591 169.254.195.26 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:12 1 TCP 1010828287 169.254.195.26 49253 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:13 1 UDP 2013266427 192.168.0.1 59704 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:14 1 TCP 1015022847 192.168.0.1 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:15 1 TCP 1010828543 192.168.0.1 59757 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:16 1 UDP 2013266426 157.27.80.134 36597 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:17 1 TCP 1015023103 157.27.80.134 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:18 1 TCP 1010828799 157.27.80.134 48893 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:1 2 UDP 2013266430 fe80::49f3:4acc:efb5:1837 58405 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:2 2 TCP 1015023870 fe80::49f3:4acc:efb5:1837 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:3 2 TCP 1010829566 fe80::49f3:4acc:efb5:1837 53515 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:4 2 UDP 2013266429 fe80::f3c6:4f64:58e3:df95 59829 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:5 2 TCP 1015023869 fe80::f3c6:4f64:58e3:df95 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:6 2 TCP 1010829565 fe80::f3c6:4f64:58e3:df95 38239 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:7 2 UDP 2013266428 fe80::ec51:750e:663d:bb6e 45192 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:8 2 TCP 1015023868 fe80::ec51:750e:663d:bb6e 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:9 2 TCP 1010829564 fe80::ec51:750e:663d:bb6e 37461 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:10 2 UDP 2013266427 169.254.195.26 59691 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:11 2 TCP 1015022590 169.254.195.26 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:12 2 TCP 1010828286 169.254.195.26 48979 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:13 2 UDP 2013266426 192.168.0.1 42601 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:14 2 TCP 1015022846 192.168.0.1 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:15 2 TCP 1010828542 192.168.0.1 36507 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:16 2 UDP 2013266425 157.27.80.134 39682 typ host"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:17 2 TCP 1015023102 157.27.80.134 9 typ host tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:18 2 TCP 1010828798 157.27.80.134 45285 typ host tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:19 1 UDP 1677722111 157.27.80.134 60112 typ srflx raddr 192.168.0.1 rport 60112"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:20 1 TCP 847250687 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:21 1 TCP 843056383 157.27.80.134 52135 typ srflx raddr 192.168.0.1 rport 52135 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:28 1 UDP 1677722110 157.27.80.134 48028 typ srflx raddr 169.254.195.26 rport 48028"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:29 1 TCP 847250431 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:30 1 TCP 843056127 157.27.80.134 60573 typ srflx raddr 169.254.195.26 rport 60573 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:28 2 UDP 1677722110 157.27.80.134 59975 typ srflx raddr 169.254.195.26 rport 59975"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:29 2 TCP 847250430 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:30 2 TCP 843056126 157.27.80.134 55665 typ srflx raddr 169.254.195.26 rport 55665 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:19 2 UDP 1677722109 157.27.80.134 42344 typ srflx raddr 192.168.0.1 rport 42344"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:20 2 TCP 847250686 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":0,"candidate":"candidate:21 2 TCP 843056382 157.27.80.134 38387 typ srflx raddr 192.168.0.1 rport 38387 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:19 1 UDP 1677722111 157.27.80.134 59704 typ srflx raddr 192.168.0.1 rport 59704"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:20 1 TCP 847250687 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:21 1 TCP 843056383 157.27.80.134 59757 typ srflx raddr 192.168.0.1 rport 59757 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:28 2 UDP 1677722110 157.27.80.134 59691 typ srflx raddr 169.254.195.26 rport 59691"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:29 2 TCP 847250430 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:30 2 TCP 843056126 157.27.80.134 48979 typ srflx raddr 169.254.195.26 rport 48979 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:19 2 UDP 1677722109 157.27.80.134 42601 typ srflx raddr 192.168.0.1 rport 42601"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:20 2 TCP 847250686 157.27.80.134 9 typ srflx raddr 192.168.0.1 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:28 1 UDP 1677722110 157.27.80.134 52292 typ srflx raddr 169.254.195.26 rport 52292"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:21 2 TCP 843056382 157.27.80.134 36507 typ srflx raddr 192.168.0.1 rport 36507 tcptype passive"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:29 1 TCP 847250431 157.27.80.134 9 typ srflx raddr 169.254.195.26 rport 9 tcptype active"} (index):30 Incoming ICE: {"sdpMLineIndex":1,"candidate":"candidate:30 1 TCP 843056127 157.27.80.134 49253 typ srflx raddr 169.254.195.26 rport 49253 tcptype passive"} (index):44 Sending ICE candidate out: {"candidate":"candidate:828040756 1 udp 2113937151 f5e16b95-9a3b-4ca7-8df7-4d240b597e8c.local 60696 typ host generation 0 ufrag +oCb network-cost 999","sdpMid":"audio1","sdpMLineIndex":1} (index):44 Sending ICE candidate out: {"candidate":"candidate:1579368026 1 udp 2113939711 616c3e9e-18d3-42b8-b1d5-35b4bc7ac642.local 60697 typ host generation 0 ufrag +oCb network-cost 999","sdpMid":"audio1","sdpMLineIndex":1} (index):44 Sending ICE candidate out: {"candidate":"candidate:828040756 1 udp 2113937151 f5e16b95-9a3b-4ca7-8df7-4d240b597e8c.local 60698 typ host generation 0 ufrag Kx0A network-cost 999","sdpMid":"video0","sdpMLineIndex":0} (index):44 Sending ICE candidate out: {"candidate":"candidate:1579368026 1 udp 2113939711 616c3e9e-18d3-42b8-b1d5-35b4bc7ac642.local 60699 typ host generation 0 ufrag Kx0A network-cost 999","sdpMid":"video0","sdpMLineIndex":0}Host stdout
nvidia@nvidia-desktop:~/test_webrtc$ make webrtc-unidirectional-h264 && ./webrtc-unidirectional-h264 make: Nothing to be done for 'all'. WebRTC page link: http://127.0.0.1:57778/ Processing new websocket connection 0x55aa63db20Creating negotiation offer Negotiation offer created: v=0 o=- 4903925278861460350 0 IN IP4 0.0.0.0 s=- t=0 0 a=ice-options:trickle a=msid-semantic:WMS webrtcbin m=video 9 UDP/TLS/RTP/SAVPF 96 c=IN IP4 0.0.0.0 a=setup:actpass a=ice-ufrag:7gROvrrpx8z0NZy/+GwjQohAHY50nCNm a=ice-pwd:3d1sSxhX+wt3ttv11LyINrHj28UPM1t0 a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 nack pli a=framerate:15 a=fmtp:96 packetization-mode=1;profile-level-id=42c016;sprop-parameter-sets=Z0LAFtoCgL/lwFqDAILSgAAAAwCAAAAPR4sXUA==,aM48gA== a=ssrc:902117246 msid:user3654773533@host-dfba77e1 webrtctransceiver0 a=ssrc:902117246 cname:user3654773533@host-dfba77e1 a=mid:video0 a=fingerprint:sha-256 D7:1E:87:00:E0:B7:A1:CB:4C:C3:3B:4E:E2:0A:BA:0C:4A:CD:BF:18:EF:8E:4F:E7:47:A7:5D:08:50:1B:51:7C m=audio 9 UDP/TLS/RTP/SAVPF 97 c=IN IP4 0.0.0.0 a=setup:actpass a=ice-ufrag:cvvx17DShIvGBa69E/dlFkSKjkAe3OVU a=ice-pwd:25rmFouozTL3lrSiFm1s2kP66f9S1ith a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:97 OPUS/48000/2 a=rtcp-fb:97 nack pli a=fmtp:97 sprop-maxcapturerate=48000;sprop-stereo=0 a=ssrc:3074109248 msid:user3654773533@host-dfba77e1 webrtctransceiver1 a=ssrc:3074109248 cname:user3654773533@host-dfba77e1 a=mid:audio1 a=fingerprint:sha-256 D7:1E:87:00:E0:B7:A1:CB:4C:C3:3B:4E:E2:0A:BA:0C:4A:CD:BF:18:EF:8E:4F:E7:47:A7:5D:08:50:1B:51:7CReceived SDP: v=0 o=- 6754965593039382874 2 IN IP4 127.0.0.1 s=- t=0 0 a=msid-semantic: WMS m=video 9 UDP/TLS/RTP/SAVPF 96 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:Kx0A a=ice-pwd:9qWarMkRC+Z+cK1RKHMPbxi2 a=ice-options:trickle a=fingerprint:sha-256 13:F1:3E:68:9C:6D:1F:A8:88:49:1B:28:9F:02:A5:52:4F:13:68:C2:8E:DA:31:61:30:EA:33:1E:4A:55:A4:07 a=setup:active a=mid:video0 a=recvonly a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e016 m=audio 9 UDP/TLS/RTP/SAVPF 97 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:+oCb a=ice-pwd:uIZ/DpMhf1HsT6Ou5YQWFybN a=ice-options:trickle a=fingerprint:sha-256 13:F1:3E:68:9C:6D:1F:A8:88:49:1B:28:9F:02:A5:52:4F:13:68:C2:8E:DA:31:61:30:EA:33:1E:4A:55:A4:07 a=setup:active a=mid:audio1 a=recvonly a=rtcp-mux a=rtpmap:97 OPUS/48000/2 a=fmtp:97 minptime=10;useinbandfec=1
Received ICE candidate with mline index 1; candidate: candidate:828040756 1 udp 2113937151 f5e16b95-9a3b-4ca7-8df7-4d240b597e8c.local 60696 typ host generation 0 ufrag +oCb network-cost 999 Received ICE candidate with mline index 1; candidate: candidate:1579368026 1 udp 2113939711 616c3e9e-18d3-42b8-b1d5-35b4bc7ac642.local 60697 typ host generation 0 ufrag +oCb network-cost 999 Received ICE candidate with mline index 0; candidate: candidate:828040756 1 udp 2113937151 f5e16b95-9a3b-4ca7-8df7-4d240b597e8c.local 60698 typ host generation 0 ufrag Kx0A network-cost 999 Received ICE candidate with mline index 0; candidate: candidate:1579368026 1 udp 2113939711 616c3e9e-18d3-42b8-b1d5-35b4bc7ac642.local 60699 typ host generation 0 ufrag Kx0A network-cost 999