<div dir="ltr"><div>Hi there,</div><div><br></div><div>I'm running into a similar issue with my webrtc pipeline when using H264 where ssrc is missed all the time however, it works just fine when I'm using vp8. Can you tell me how exactly were you able to add a delay between caps negotiation with the "notify::caps" signal, as I'm more of a beginner and not entirely sure how to do this?<br><br></div><div>Thanks.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 9:53 PM Vladimir Tyutin <<a href="mailto:vladimir.tyutin@gmail.com">vladimir.tyutin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Trey,<div>It seems you are right! Because if I set delay in 1 sec ssrc is added all the time. </div><div>Thanks for your advice I will implement it</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 6:46 PM Trey Hutcheson <<a href="mailto:trey.hutcheson@gmail.com" target="_blank">trey.hutcheson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">You need to wait until webrtcbin's sink pads get caps from upstream. You can connect to the notify::caps signal on both sink pads and verify caps are there before generating the offer. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 9:38 AM Vladimir Tyutin <<a href="mailto:vladimir.tyutin@gmail.com" target="_blank">vladimir.tyutin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi all,<br><div>I use webrtcbin for video and audio streaming (see my pipeline below).</div><div>The issue that when webrtcbin generates SDP offers in 60% cases a:ssrc parameter is missed for video stream. In 40% cases it's generated. </div><div>It's important because Android client does not create remote video track if ssrc is missed. </div><div>So how to force webrtcbin to generate ssrc all the time?  </div><div><br></div><div>Here is my pipeline:</div><div><div>#define WEBRTC_PIPELINE    "webrtcbin name=webrtc " STUN_SERVER_PROP "=" STUN_1 " " STUN_SERVER_PROP "=" STUN_2 " " STUN_SERVER_PROP "=" STUN_3 " " \</div><div>                    STUN_SERVER_PROP "=" STUN_4 " " STUN_SERVER_PROP "=" STUN_5 " " TURN_SERVER_PROP "=" TURN_1 " " \</div><div>                    "v536videosrc sys-init=false push_mode=true device=1 channel=2 encoder=2 format=H264 width=640 height=480 ! video/x-h264, stream-format=byte-stream, alignment=au, profile=baseline ! rtph264pay rtp-h264aggregate-mode=2 ! capsfilter caps=" RTP_CAPS_H264 "96 ! queue leaky=downstream ! webrtc. " \</div><div>                    "alsasrc ! queue leaky=downstream ! audioconvert ! opusenc ! rtpopuspay ! capsfilter caps=" RTP_CAPS_OPUS "97 ! webrtc.  "</div></div><div><br></div><div> </div><div><br></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>