<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">After all: I find this a bit ridiculous. You know, what made webrtcbin accepting the Chrome offer?<div class=""><br class=""></div><div class=""><div style="background-color: rgb(255, 255, 255); font-family: "Fira Code", Menlo, Monaco, "Courier New", monospace, Menlo, Monaco, "Courier New", monospace; line-height: 21px; white-space: pre;" class="">sdp <span style="color: #7f0055;" class="">=</span> sdp.replace(<span style="color: #d126d1;" class="">"42e01f"</span>, <span style="color: #d126d1;" class="">"42c01e"</span>)</div><div><br class=""></div><div>Tadaa...</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">Am 16.08.2021 um 19:06 schrieb Neil Young <<a href="mailto:foreverneilyoung@googlemail.com" class="">foreverneilyoung@googlemail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Is maybe anybody else having an idea, why an H.264 offer cannot be processed successfully by webrtcbin?<div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 16.08.2021 um 13:24 schrieb Neil Young <<a href="mailto:foreverneilyoung@googlemail.com" class="">foreverneilyoung@googlemail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">With the last pipeline I'm now having an on/off behaviour:<div class=""><br class=""></div><div class="">The answer of webrtcbin toggles between "recvonly" and "sendonly" with way more "recvonly" as "sendonly". In both cases no video on remote... </div><div class=""><br class=""></div><div class="">v=0</div><div class="">o=- 4728221511241836558 2 IN IP4 0.0.0.0</div><div class="">s=-</div><div class="">t=0 0</div><div class="">a=group:BUNDLE 0</div><div class="">m=video 9 UDP/TLS/RTP/SAVPF 106</div><div class="">c=IN IP4 0.0.0.0</div><div class="">a=ice-ufrag:W3xohiCHpxYzZFv/FkSIG0NAkEr+A3vZ</div><div class="">a=ice-pwd:CwZd/1fl0jIzhHeuRQmKi0Et2iYxIggH</div><div class="">a=mid:0</div><div class="">a=rtcp-mux</div><div class="">a=setup:active</div><div class="">a=rtpmap:106 H264/90000</div><div class="">a=rtcp-fb:106 nack pli</div><div class="">a=rtcp-fb:106 ccm fir</div><div class="">a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f</div><div class=""><b class="">a=sendonly</b></div><div class="">a=fingerprint:sha-256 E6:79:A9:2E:6A:95:97:F0:ED:7F:EC:2C:95:7F:08:00:52:7A:A7:63:A6:54:72:F9:D7:4B:7C:CF:AC:10:2E:9E</div><div class=""><br class=""></div><div class="">The next attempt...</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">v=0</div><div class="">o=- 4593626333754434277 2 IN IP4 0.0.0.0</div><div class="">s=-</div><div class="">t=0 0</div><div class="">a=group:BUNDLE 0</div><div class="">m=video 9 UDP/TLS/RTP/SAVPF 106</div><div class="">c=IN IP4 0.0.0.0</div><div class="">a=ice-ufrag:iGiB6JXPqOfNjTmk0rCVuh08SrQPa/u0</div><div class="">a=ice-pwd:kIRA5abGf5kwqoHULsLW1DBiWsMFl61y</div><div class="">a=mid:0</div><div class="">a=rtcp-mux</div><div class="">a=setup:active</div><div class="">a=rtpmap:106 H264/90000</div><div class="">a=rtcp-fb:106 nack pli</div><div class="">a=rtcp-fb:106 ccm fir</div><div class="">a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f</div><div class=""><b class="">a=recvonly</b></div><div class="">a=fingerprint:sha-256 6F:A2:A8:5A:5E:39:C4:A8:71:40:00:25:8B:0C:C4:A0:F2:5D:91:C7:10:87:AE:E1:B5:03:58:CD:44:B6:86:72</div><div class=""> <br class=""><div class="">I consider this as a problem of GStreamer/webrtcbin, at least I wouldn't see any chance to do something differently in my app(s)</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 16.08.2021 um 12:23 schrieb Neil Young <<a href="mailto:foreverneilyoung@googlemail.com" class="">foreverneilyoung@googlemail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Matthew, I appreciate your passion.<div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><span class="" style="float: none; display: inline !important;">Your payload types (96 and 106) don't match.</span><br class=""></blockquote><div class=""><br class=""></div><div class="">Right. I already tried to align the payload types by changing the pipeline to</div><div class=""><br class=""></div><div class=""><div style="background-color: rgb(255, 255, 255); font-family: "Fira Code", Menlo, Monaco, "Courier New", monospace, Menlo, Monaco, "Courier New", monospace; line-height: 21px; white-space: pre;" class=""><div class=""><span style="color: #00950e;font-style: italic;" class=""># H.264 TEST VIDEO</span></div><div class=""><span style="color: #006078;" class="">PIPELINE_TEST_H264</span> <span style="color: #7f0055;" class="">=</span> '''</div><div class="">webrtcbin name=webrtcbin bundle-policy=max-bundle stun-server=<a href="stun://stun.l.google.com:19302" class="">stun://stun.l.google.com:19302</a></div><div class="">videotestsrc is-live=true pattern=smpte ! video/x-raw,width=1280,height=720 ! videoconvert ! x264enc ! rtph264pay config-interval=1 !</div><div class="">application/x-rtp,media=video,encoding-name=H264,<b class="">payload=106</b> ! webrtcbin.</div><div class="">'''</div></div></div><div class=""><br class=""></div><div class="">This in turn leads to this trace when opening the pipeline:</div><div class=""><br class=""></div><div class=""><div class="">0:00:02.829553477 18307 0xb284e920 DEBUG webrtcbin gstwebrtcbin.c:279:gst_webrtcbin_sink_event:<webrtcbin> On <webrtcbin:sink_0> checking negotiation? 1, caps application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)42c01f, sprop-parameter-sets=(string)"Z0LAH9kAUAW7AWoCAgKAAAADAIAAAB5HjBkk\,aMuMsg\=\=", payload=(int)106, ssrc=(uint)3448302171, timestamp-offset=(uint)1392743375, seqnum-offset=(uint)446, a-framerate=(string)30</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">For me the payload type is now aligned, agreed?</div><div class=""><br class=""></div><div class="">However, the answer is pretty much unchanged: recvonly</div><div class=""><br class=""></div><div class=""><div class="">v=0</div><div class="">o=- 3108597460851813833 2 IN IP4 0.0.0.0</div><div class="">s=-</div><div class="">t=0 0</div><div class="">a=group:BUNDLE 0</div><div class="">m=video 9 UDP/TLS/RTP/SAVPF 106</div><div class="">c=IN IP4 0.0.0.0</div><div class="">a=ice-ufrag:9swKKMnQq0pYHRPPhPXxKjoUcQ8KiClQ</div><div class="">a=ice-pwd:sCd22APnaQwFzaX/ckQCvi5PKUktMAKS</div><div class="">a=mid:0</div><div class="">a=rtcp-mux</div><div class="">a=setup:active</div><div class="">a=rtpmap:106 H264/90000</div><div class="">a=rtcp-fb:106 nack pli</div><div class="">a=rtcp-fb:106 ccm fir</div><div class="">a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f</div><div class="">a=recvonly</div><div class="">a=fingerprint:sha-256 18:FB:43:83:BA:0F:70:BB:D8:0F:D4:C8:4D:A6:CA:62:10:E5:81:BC:47:83:F6:87:69:3D:9A:DB:3D:13:F7:CB</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">What baffles me a bit is the fact, that the Python app comes with 42e01f in its own OFFER but is not able to ANSWER on the same...</div><div class=""><br class=""></div><div class="">Instead the trace is full of:</div><div class=""><br class=""></div><div class=""><div class="">0:02:01.876244089 18649 0xb284ea60 WARN x264enc :0::<x264enc1> VBV underflow (frame 1556, -1648 bits)</div><div class=""><br class=""></div><div class="">0:02:04.268972430 18649 0xb284ea60 WARN x264enc :0::<x264enc1> VBV underflow (frame 1587, -4389 bits)</div><div class=""><br class=""></div><div class="">0:02:04.740632546 18649 0xb285d550 INFO webrtcbin gstwebrtcbin.c:5640:on_rtpbin_sender_ssrc_active:<webrtcbin> session 0 ssrc 4211387912 sender ssrc active</div><div class="">0:02:11.306267601 18649 0xb285d550 INFO webrtcbin gstwebrtcbin.c:5640:on_rtpbin_sender_ssrc_active:<webrtcbin> session 0 ssrc 4211387912 sender ssrc active</div><div class="">0:02:14.014989538 18649 0xb285d550 INFO webrtcbin gstwebrtcbin.c:5640:on_rtpbin_sender_ssrc_active:<webrtcbin> session 0 ssrc 4211387912 sender ssrc active</div><div class="">0:02:15.338216500 18649 0xb284ea60 WARN x264enc :0::<x264enc1> VBV underflow (frame 1736, -8107 bits)</div><div class=""><br class=""></div><div class="">0:02:17.648229992 18649 0xb284ea60 WARN x264enc :0::<x264enc1> VBV underflow (frame 1767, -6693 bits)</div><div class=""><br class=""></div><div class="">0:02:19.957512270 18649 0xb284ea60 WARN x264enc :0::<x264enc1> VBV underflow (frame 1797, -8552 bits)</div><div class=""><br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""># H.264 TEST VIDEO<br class="">PIPELINE_TEST_H264 = '''<br class="">webrtcbin name=webrtcbin bundle-policy=max-bundle stun-server=<a href="stun://stun.l.google.com:19302" class="">stun://stun.l.google.com:19302</a><br class="">videotestsrc is-live=true pattern=smpte ! video/x-raw,width=1280,height=720 ! videoconvert ! x264enc ! rtph264pay config-interval=1 ! webrtcbin.<br class="">'''<br class=""></blockquote></blockquote><blockquote type="cite" class=""><div class="">Am 16.08.2021 um 12:10 schrieb Matthew Waters <<a href="mailto:ystreet00@gmail.com" class="">ystreet00@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Hi,</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On 16/8/21 8:06 pm, Neil Young via gstreamer-devel wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">This is the situation:<br class=""><br class="">I'm running a GST 18.4 python app. This app communicates with a Chrome JS app on the same network.<br class=""><br class="">The app is able to send and receive VP8, but I'm having a problem with H.264, in case the Python app (webrtcbin based) is the ANSWERER. The problem is not there if the Python app is the OFFERER.<br class="">First the positive case: This is my H.264 pipeline in the Python app. If the Python app OFFERS, the video appears in Chrome.<br class=""><br class=""><br class=""># H.264 TEST VIDEO<br class="">PIPELINE_TEST_H264 = '''<br class="">webrtcbin name=webrtcbin bundle-policy=max-bundle stun-server=<a href="stun://stun.l.google.com:19302" class="">stun://stun.l.google.com:19302</a><br class="">videotestsrc is-live=true pattern=smpte ! video/x-raw,width=1280,height=720 ! videoconvert ! x264enc ! rtph264pay config-interval=1 ! webrtcbin.<br class="">'''<br class=""><br class=""><br class="">The SDP handshake is like so:<br class=""><br class="">The OFFER sent:<br class=""><br class=""><br class="">v=0<br class="">o=- 143230668495837560 0 IN IP4 0.0.0.0<br class="">s=-<br class="">t=0 0<br class="">a=ice-options:trickle<br class="">a=group:BUNDLE video0<br class="">m=video 9 UDP/TLS/RTP/SAVPF 96<br class="">c=IN IP4 0.0.0.0<br class="">a=setup:actpass<br class="">a=ice-ufrag:8OgtMvs3Zdn04lGPl61MEeQGtuq2XNS+<br class="">a=ice-pwd:GbtIZHC7CWPkgzNrnH7mWEtWNpaeWL5n<br class="">a=rtcp-mux<br class="">a=rtcp-rsize<br class="">a=sendonly<br class="">a=rtpmap:96 H264/90000<br class="">a=rtcp-fb:96 nack pli<br class="">a=framerate:30<br class="">a=fmtp:96 packetization-mode=1;profile-level-id=42c01f;sprop-parameter-sets=Z0LAH9kAUAW7AWoCAgKAAAADAIAAAB5HjBkk,aMuMsg==<br class="">a=ssrc:2817782937 msid:user2521903457@host-548ae76e webrtctransceiver0<br class="">a=ssrc:2817782937 cname:user2521903457@host-548ae76e<br class="">a=mid:video0<br class="">a=fingerprint:sha-256 1B:99:58:8C:F3:33:28:60:02:E6:11:66:74:B7:84:B4:D9:06:32:12:13:23:F0:E9:23:68:9D:C3:CC:79:85:C5<br class="">The ANSWER received (video flows):<br class="">v=0<br class="">o=- 6562431427409268738 2 IN IP4 127.0.0.1<br class="">s=-<br class="">t=0 0<br class="">a=group:BUNDLE video0<br class="">a=msid-semantic: WMS<br class="">m=video 9 UDP/TLS/RTP/SAVPF 96<br class="">c=IN IP4 0.0.0.0<br class="">a=rtcp:9 IN IP4 0.0.0.0<br class="">a=ice-ufrag:OoGw<br class="">a=ice-pwd:egHkzRQOlN6ADWLnaltQ6AkA<br class="">a=ice-options:trickle<br class="">a=fingerprint:sha-256 20:C2:D3:AA:37:07:31:87:FA:71:D4:20:CF:50:ED:07:EA:C8:B8:1D:EA:02:73:9C:7C:AC:24:5C:F3:C9:DA:60<br class="">a=setup:active<br class="">a=mid:video0<br class="">a=recvonly<br class="">a=rtcp-mux<br class="">a=rtcp-rsize<br class="">a=rtpmap:96 H264/90000<br class="">a=rtcp-fb:96 nack pli<br class="">a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f<br class="">Works. Video flows.<br class="">But now the other way around: The video does not appear in Chrome, if Chrome is the OFFERER. The ANSWER confirms that with "a=inactive".<br class="">The OFFER generated by Chrome:<br class="">v=0<br class="">o=- 6799643414674800834 2 IN IP4 127.0.0.1<br class="">s=-<br class="">t=0 0<br class="">a=group:BUNDLE 0<br class="">a=extmap-allow-mixed<br class="">a=msid-semantic: WMS<br class="">m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 122 102 121 127 120 125 107 108 109 35 36 124 119 123 118 114 115 116 37<br class="">c=IN IP4 0.0.0.0<br class="">a=rtcp:9 IN IP4 0.0.0.0<br class="">a=ice-ufrag:Tyef<br class="">a=ice-pwd:tct8Z2AfUb1yNAT/aWDfj2OI<br class="">a=ice-options:trickle<br class="">a=fingerprint:sha-256 F6:01:90:DF:E5:67:4E:B0:9F:DF:14:1A:3B:08:2F:E8:12:ED:CC:35:EB:4D:E2:22:AF:1F:18:7C:EB:37:D7:41<br class="">a=setup:actpass<br class="">a=mid:0<br class="">a=extmap:1 urn:ietf:params:rtp-hdrext:toffset<br class="">a=extmap:2 <a href="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" class="">http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time</a><br class="">a=extmap:3 urn:3gpp:video-orientation<br class="">a=extmap:4 <a href="http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01" class="">http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01</a><br class="">a=extmap:5 <a href="http://www.webrtc.org/experiments/rtp-hdrext/playout-delay" class="">http://www.webrtc.org/experiments/rtp-hdrext/playout-delay</a><br class="">a=extmap:6 <a href="http://www.webrtc.org/experiments/rtp-hdrext/video-content-type" class="">http://www.webrtc.org/experiments/rtp-hdrext/video-content-type</a><br class="">a=extmap:7 <a href="http://www.webrtc.org/experiments/rtp-hdrext/video-timing" class="">http://www.webrtc.org/experiments/rtp-hdrext/video-timing</a><br class="">a=extmap:8 <a href="http://www.webrtc.org/experiments/rtp-hdrext/color-space" class="">http://www.webrtc.org/experiments/rtp-hdrext/color-space</a><br class="">a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid<br class="">a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id<br class="">a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id<br class="">a=recvonly<br class="">a=rtcp-mux<br class="">a=rtcp-rsize<br class="">a=rtpmap:96 VP8/90000<br class="">a=rtcp-fb:96 goog-remb<br class="">a=rtcp-fb:96 transport-cc<br class="">a=rtcp-fb:96 ccm fir<br class="">a=rtcp-fb:96 nack<br class="">a=rtcp-fb:96 nack pli<br class="">a=rtpmap:97 rtx/90000<br class="">a=fmtp:97 apt=96<br class="">a=rtpmap:98 VP9/90000<br class="">a=rtcp-fb:98 goog-remb<br class="">a=rtcp-fb:98 transport-cc<br class="">a=rtcp-fb:98 ccm fir<br class="">a=rtcp-fb:98 nack<br class="">a=rtcp-fb:98 nack pli<br class="">a=fmtp:98 profile-id=0<br class="">a=rtpmap:99 rtx/90000<br class="">a=fmtp:99 apt=98<br class="">a=rtpmap:100 VP9/90000<br class="">a=rtcp-fb:100 goog-remb<br class="">a=rtcp-fb:100 transport-cc<br class="">a=rtcp-fb:100 ccm fir<br class="">a=rtcp-fb:100 nack<br class="">a=rtcp-fb:100 nack pli<br class="">a=fmtp:100 profile-id=2<br class="">a=rtpmap:101 rtx/90000<br class="">a=fmtp:101 apt=100<br class="">a=rtpmap:122 VP9/90000<br class="">a=rtcp-fb:122 goog-remb<br class="">a=rtcp-fb:122 transport-cc<br class="">a=rtcp-fb:122 ccm fir<br class="">a=rtcp-fb:122 nack<br class="">a=rtcp-fb:122 nack pli<br class="">a=fmtp:122 profile-id=1<br class="">a=rtpmap:102 H264/90000<br class="">a=rtcp-fb:102 goog-remb<br class="">a=rtcp-fb:102 transport-cc<br class="">a=rtcp-fb:102 ccm fir<br class="">a=rtcp-fb:102 nack<br class="">a=rtcp-fb:102 nack pli<br class="">a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f<br class="">a=rtpmap:121 rtx/90000<br class="">a=fmtp:121 apt=102<br class="">a=rtpmap:127 H264/90000<br class="">a=rtcp-fb:127 goog-remb<br class="">a=rtcp-fb:127 transport-cc<br class="">a=rtcp-fb:127 ccm fir<br class="">a=rtcp-fb:127 nack<br class="">a=rtcp-fb:127 nack pli<br class="">a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f<br class="">a=rtpmap:120 rtx/90000<br class="">a=fmtp:120 apt=127<br class="">a=rtpmap:125 H264/90000<br class="">a=rtcp-fb:125 goog-remb<br class="">a=rtcp-fb:125 transport-cc<br class="">a=rtcp-fb:125 ccm fir<br class="">a=rtcp-fb:125 nack<br class="">a=rtcp-fb:125 nack pli<br class="">a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f<br class="">a=rtpmap:107 rtx/90000<br class="">a=fmtp:107 apt=125<br class="">a=rtpmap:108 H264/90000<br class="">a=rtcp-fb:108 goog-remb<br class="">a=rtcp-fb:108 transport-cc<br class="">a=rtcp-fb:108 ccm fir<br class="">a=rtcp-fb:108 nack<br class="">a=rtcp-fb:108 nack pli<br class="">a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f<br class="">a=rtpmap:109 rtx/90000<br class="">a=fmtp:109 apt=108<br class="">a=rtpmap:35 AV1X/90000<br class="">a=rtcp-fb:35 goog-remb<br class="">a=rtcp-fb:35 transport-cc<br class="">a=rtcp-fb:35 ccm fir<br class="">a=rtcp-fb:35 nack<br class="">a=rtcp-fb:35 nack pli<br class="">a=rtpmap:36 rtx/90000<br class="">a=fmtp:36 apt=35<br class="">a=rtpmap:124 H264/90000<br class="">a=rtcp-fb:124 goog-remb<br class="">a=rtcp-fb:124 transport-cc<br class="">a=rtcp-fb:124 ccm fir<br class="">a=rtcp-fb:124 nack<br class="">a=rtcp-fb:124 nack pli<br class="">a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032<br class="">a=rtpmap:119 rtx/90000<br class="">a=fmtp:119 apt=124<br class="">a=rtpmap:123 H264/90000<br class="">a=rtcp-fb:123 goog-remb<br class="">a=rtcp-fb:123 transport-cc<br class="">a=rtcp-fb:123 ccm fir<br class="">a=rtcp-fb:123 nack<br class="">a=rtcp-fb:123 nack pli<br class="">a=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032<br class="">a=rtpmap:118 rtx/90000<br class="">a=fmtp:118 apt=123<br class="">a=rtpmap:114 red/90000<br class="">a=rtpmap:115 rtx/90000<br class="">a=fmtp:115 apt=114<br class="">a=rtpmap:116 ulpfec/90000<br class="">a=rtpmap:37 flexfec-03/90000<br class="">a=rtcp-fb:37 goog-remb<br class="">a=rtcp-fb:37 transport-cc<br class="">a=fmtp:37 repair-window=10000000<br class=""><br class=""><br class=""><br class="">The ANSWER generated by webrtcbin:<br class=""><br class=""><br class=""><br class="">v=0<br class="">o=- 6799643414674800834 2 IN IP4 0.0.0.0<br class="">s=-<br class="">t=0 0<br class="">a=group:BUNDLE 0<br class="">m=video 9 UDP/TLS/RTP/SAVPF 96<br class="">c=IN IP4 0.0.0.0<br class="">a=ice-ufrag:ej11/cl3FCkkhNmNliiql1R5MX5MFn/g<br class="">a=ice-pwd:SgutRYS/iWj9l8WvWvXGzrohbIiTLK+f<br class="">a=mid:0<br class="">a=rtcp-mux<br class="">a=setup:active<br class="">a=rtpmap:96 VP8/90000<br class="">a=rtcp-fb:96 nack pli<br class="">a=rtcp-fb:96 ccm fir<br class="">a=inactive<br class="">a=fingerprint:sha-256 BD:5C:65:0E:D3:75:67:8B:80:71:57:D5:08:14:70:1A:BB:4F:51:F8:54:53:80:17:8C:3E:44:DB:EA:E5:04:06<br class=""><br class="">I then tried limit the codecs offered by Chrome to one of the seemingly matching H.264 formats by `setCodecPreferences`:<br class=""><br class=""><br class="">videoTransceiver.setCodecPreferences([<br class=""> { clockRate: 90000, mimeType: "video/H264", sdpFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f" }<br class="">])<br class=""><br class="">After this the OFFER from Chrome looks like this:<br class=""><br class=""><br class="">v=0<br class="">o=- 1241534504099527837 2 IN IP4 127.0.0.1<br class="">s=-<br class="">t=0 0<br class="">a=group:BUNDLE 0<br class="">a=extmap-allow-mixed<br class="">a=msid-semantic: WMS oQrYP0RdXW3OITfGDlPmkOEuvWzFikm0VwlO<br class="">m=video 9 UDP/TLS/RTP/SAVPF 106<br class="">c=IN IP4 0.0.0.0<br class="">a=rtcp:9 IN IP4 0.0.0.0<br class="">a=ice-ufrag:hO7n<br class="">a=ice-pwd:cZ0ULb11MCZp/kiAj1Pq4z7j<br class="">a=ice-options:trickle<br class="">a=fingerprint:sha-256 9F:2B:04:A2:8C:6F:34:A6:CB:19:20:C5:2E:91:A8:94:94:F8:29:CF:EC:ED:18:DF:19:B8:79:F0:6A:E4:4A:64<br class="">a=setup:actpass<br class="">a=mid:0<br class="">a=extmap:1 urn:ietf:params:rtp-hdrext:toffset<br class="">a=extmap:2 <a href="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" class="">http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time</a><br class="">a=extmap:3 urn:3gpp:video-orientation<br class="">a=extmap:4 <a href="http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01" class="">http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01</a><br class="">a=extmap:5 <a href="http://www.webrtc.org/experiments/rtp-hdrext/playout-delay" class="">http://www.webrtc.org/experiments/rtp-hdrext/playout-delay</a><br class="">a=extmap:6 <a href="http://www.webrtc.org/experiments/rtp-hdrext/video-content-type" class="">http://www.webrtc.org/experiments/rtp-hdrext/video-content-type</a><br class="">a=extmap:7 <a href="http://www.webrtc.org/experiments/rtp-hdrext/video-timing" class="">http://www.webrtc.org/experiments/rtp-hdrext/video-timing</a><br class="">a=extmap:8 <a href="http://www.webrtc.org/experiments/rtp-hdrext/color-space" class="">http://www.webrtc.org/experiments/rtp-hdrext/color-space</a><br class="">a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid<br class="">a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id<br class="">a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id<br class="">a=sendrecv<br class="">a=msid:oQrYP0RdXW3OITfGDlPmkOEuvWzFikm0VwlO a6613978-f98b-4fee-87b8-42f0ea143d1b<br class="">a=rtcp-mux<br class="">a=rtcp-rsize<br class="">a=rtpmap:106 H264/90000<br class="">a=rtcp-fb:106 goog-remb<br class="">a=rtcp-fb:106 transport-cc<br class="">a=rtcp-fb:106 ccm fir<br class="">a=rtcp-fb:106 nack<br class="">a=rtcp-fb:106 nack pli<br class="">a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f<br class="">a=ssrc:2404631310 cname:g3pckgfqHMLdr/Ev<br class="">a=ssrc:2404631310 msid:oQrYP0RdXW3OITfGDlPmkOEuvWzFikm0VwlO a6613978-f98b-4fee-87b8-42f0ea143d1b<br class="">a=ssrc:2404631310 mslabel:oQrYP0RdXW3OITfGDlPmkOEuvWzFikm0VwlO<br class="">a=ssrc:2404631310 label:a6613978-f98b-4fee-87b8-42f0ea143d1b<br class=""><br class="">...and the ANSWER from the Python app:<br class=""><br class=""><br class="">v=0<br class="">o=- 4514418055778671968 2 IN IP4 0.0.0.0<br class="">s=-<br class="">t=0 0<br class="">a=group:BUNDLE 0<br class="">m=video 9 UDP/TLS/RTP/SAVPF 106<br class="">c=IN IP4 0.0.0.0<br class="">a=ice-ufrag:dJWSQZTBciCBx2fEbfUoj+CfUl+MBBlF<br class="">a=ice-pwd:LI/7knZzqS/yUtOZDLU6P74mQDW/aCu3<br class="">a=mid:0<br class="">a=rtcp-mux<br class="">a=setup:active<br class="">a=rtpmap:106 H264/90000<br class="">a=rtcp-fb:106 nack pli<br class="">a=rtcp-fb:106 ccm fir<br class="">a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f<br class="">a=recvonly<br class="">a=fingerprint:sha-256 24:63:1E:23:6E:B0:A3:F3:1E:DA:C6:0E:7F:4F:DC:74:98:FE:F4:8D:AE:84:02:44:F1:16:F1:3D:C4:68:2B:25<br class=""><br class="">That looks promising, because there seems to be an agreement on the format.<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">webrtcbin will literally reply with the exact same format and recvonly if there is not 'send' support for this media. There may not necessarily be 'agreement on the format'.</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""> What concerns me is the a=recvonly and in fact, the screen remains black on the Chrome side. And in case the Chrome app sends video as announced, the Python app crashes with sigsev after "on_incoming_pad_added".<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Please create a new issue for only the segfault and include the full backtrace of all threads and a full reproducible example.</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I don't know if it means something: If I run the Python app as OFFERER this trace appears:<br class=""><br class="">:00:03.684006943 16546 0xb284cf20 DEBUG webrtcbin gstwebrtcbin.c:279:gst_webrtcbin_sink_event:<webrtcbin> On <webrtcbin:sink_0> checking negotiation? 1, caps application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)42c01f, sprop-parameter-sets=(string)"Z0LAH9kAUAW7AWoCAgKAAAADAIAAAB5HjBkk\,aMuMsg\=\=", payload=(int)96, seqnum-offset=(uint)20552, timestamp-offset=(uint)1267346039, ssrc=(uint)1634604066, a-framerate=(string)30<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Your payload types (96 and 106) don't match.</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I see a difference in the profile-level-id of 42c01f compared to the later offered 42e01f, but it works, maybe because the Chrome decoder does not care. But on the Chrome side 42c01f is not in the range of possible codecs:<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">You must match the same profile-level-id.</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I'm a bit lost here and beginning to think about NOT using GST in ANSWERING mode, at least not for H.264...<br class=""><br class="">There seems to be no understanding between both parties...<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Correct, you have to make GStreamer understand the peer. GStreamer will only send exactly what you tell it.</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Cheers</span><br style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">-Matt</span></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>