<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Im not sure if if can run it from terminal (I dont know how to do the signalling that way) but I can setup debug logging if it that ok?</div><div class=""><br class=""></div><div class="">I dont set any codec preferences on the webrtc.</div><div class=""><br class=""></div><div class="">Strange thing this is only appears if I use H264, I just tried to run the very same pipeline with VP8 codec the SDP looks alright (but unfortunately I have to use H264 so this wont be a workaround for my use case):</div><div class=""><br class=""></div><div class=""><div class="">v=0</div><div class="">o=- 711117265011778833 0 IN IP4 0.0.0.0</div><div class="">s=-</div><div class="">t=0 0</div><div class="">a=ice-options:trickle</div><div class="">a=msid-semantic:WMS webrtc_sink</div><div class="">m=video 9 UDP/TLS/RTP/SAVPF 96</div><div class="">c=IN IP4 0.0.0.0</div><div class="">a=setup:actpass</div><div class="">a=ice-ufrag:Qfsq+80LvU2YdnPZzVjuA4/UrODXoKrN</div><div class="">a=ice-pwd:HWOOU8kI1droNmky2tjnGekC1NquWNmH</div><div class="">a=sendrecv</div><div class="">a=rtcp-mux</div><div class="">a=rtcp-rsize</div><div class="">a=rtpmap:96 VP8/90000</div><div class="">a=rtcp-fb:96 nack pli</div><div class="">a=ssrc:2035319666 msid:user1666440897@host-b40b4b48 webrtctransceiver0</div><div class="">a=ssrc:2035319666 cname:user1666440897@host-b40b4b48</div><div class="">a=mid:video0</div><div class="">a=fingerprint:sha-256 C2:C3:5D:14:8F:06:44:8A:0E:A8:76:4B:D8:46:5D:BF:31:73:F1:CB:32:F7:8B:F8:F5:D1:D9:58:1D:3C:5D:05</div></div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Peter</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2021. Apr 9., at 19:52, Olivier CrĂȘte <<a href="mailto:olivier.crete@collabora.com" class="">olivier.crete@collabora.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">Hi,</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">On Fri, 2021-04-09 at 19:22 +0200, Peter Biro wrote:</div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; 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; margin: 0px 0px 0px 0.8ex; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(114, 159, 207); padding-left: 1ex;" class=""><div class="">Hi all,<br class=""></div><div class=""><br class=""></div><div class="">I found a pretty strange issue webrtcbin generates the following initial SDP offer with a negative clock rate:<br class=""></div><div class=""><br class=""></div><div class="">v=0<br class=""></div><div class="">o=- 5716970113760455593 0 IN IP4 0.0.0.0<br class=""></div><div class="">s=-<br class=""></div><div class="">t=0 0<br class=""></div><div class="">a=ice-options:trickle<br class=""></div><div class="">a=msid-semantic:WMS webrtc_sink<br class=""></div><div class="">m=video 9 UDP/TLS/RTP/SAVPF 96<br class=""></div><div class="">c=IN IP4 0.0.0.0<br class=""></div><div class="">a=setup:actpass<br class=""></div><div class="">a=ice-ufrag:0ybqQZNeS9CznnGxJxW/BpKyapc+CXsL<br class=""></div><div class="">a=ice-pwd:ffvVDjwSJ7/+AAdh3MjUMMhz91xwZZGI<br class=""></div><div class="">a=sendrecv<br class=""></div><div class="">a=rtcp-mux<br class=""></div><div class="">a=rtcp-rsize<br class=""></div><div class="">a=rtpmap:96 H264/-1784864736<br class=""></div><div class="">a=rtcp-fb:96 nack pli<br class=""></div><div class="">a=mid:video0<br class=""></div><div class="">a=fingerprint:sha-256 9B:11:48:BE:41:FF:CA:FE:62:B1:98:07:7B:E6:80:2A:56:9A:56:DC:A2:60:81:27:DE:EC:F5:76:C1:C4:39:51<br class=""></div><div class=""><br class=""></div><div class="">Actually it is more like a random number it changes in every session setup. However as I see it should be set to 9000.<br class=""></div><div class=""><br class=""></div><div class="">My pipleine is pretty simple:<br class=""></div><div class=""><br class=""></div><div class="">nvarguscamerasrc sensor-id=0 sensor-mode=0 gainrange="1 16" ispdigitalgainrange="1 1"<br class=""></div><div class="">    ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1<br class=""></div><div class="">    ! nvvidconv ! nvv4l2h264enc bitrate=8000000 control-rate=1 insert-sps-pps=true ! rtph264pay mtu=1400<span class="Apple-converted-space"> </span><br class=""></div><div class="">    ! webrtcbin name=webrtc_sink latency=0<br class=""></div><div class=""><br class=""></div><div class="">And on the application side Im handling the singling.<span class="Apple-converted-space"> </span><br class=""></div><div class=""><br class=""></div><div class="">Do you have any idea how to fix this? What I am missing here?<br class=""></div></blockquote><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">This is definitely a bug in webrtcbin, it shouldn't be generating an SDP with an invalid clock rate.</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">Can you run it with "gst-launch-1.0 -v" to see wahtr caps the payloaders set on webrtcbin ?</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">Do you set any codec preferences on webrtcbin ?</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">Olivier</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; 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; margin: 0px 0px 0px 0.8ex; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(114, 159, 207); padding-left: 1ex;" class=""><div class=""><br class=""></div><div class="">Thanks,<br class=""></div><div class="">Peter<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">_______________________________________________<br class=""></div><div class="">gstreamer-devel mailing list<br class=""></div><div class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class=""></div><div class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class=""></div></blockquote><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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 class=""><pre class="">-- <br class=""></pre><div data-evo-paragraph="" class="">Olivier CrĂȘte</div><div data-evo-paragraph="" class=""><a href="mailto:olivier.crete@collabora.com" class="">olivier.crete@collabora.com</a></div><div data-evo-paragraph="" class=""><br class=""></div></span></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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: Helvetica; font-size: 12px; 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="">gstreamer-devel mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" style="font-family: Helvetica; font-size: 12px; 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;" class="">gstreamer-devel@lists.freedesktop.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" style="font-family: Helvetica; font-size: 12px; 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;" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br class=""></div></body></html>