<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Are you providing caps to your appsrc? 
      I can't remember if appsrc will delay the caps event until the
      first buffer or not so that may be a reason.<br>
      <br>
      On 5/8/20 5:55 am, Anton Pryima wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKaSWJwF3+enN5z4TBnCA2AouDAXzjLxHUK=4=uqoMkjiiaq_g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello all.<br>
        <div><br>
        </div>
        <div>I have a pipe:</div>
        <div>appsrc->rtph264pay->webrtcbin.sink</div>
        <div><br>
        </div>
        <div>But, when I setting up everything, and pipeline is not
          running yet, I received an error: </div>
        <div>DEBUG              webrtcbin
          gstwebrtcbin.c:5722:gst_webrtc_bin_change_state: changing
          state: NULL => READY<br>
          LOG                webrtcbin
          gstwebrtcbin.c:1341:_check_if_negotiation_is_needed:<sendonly>
          checking if negotiation is needed<br>
          LOG                webrtcbin
          gstwebrtcbin.c:1346:_check_if_negotiation_is_needed:<sendonly>
          no negotiation possible until caps have been received on all
          sink pads<br>
        </div>
        <div><br>
        </div>
        <div>After that, I'm starting pipeline and it working fine, no
          issues:</div>
        <div><br>
           DEBUG              webrtcbin
          gstwebrtcbin.c:5722:gst_webrtc_bin_change_state: changing
          state: READY => PAUSED<br>
          DEBUG              webrtcbin
          gstwebrtcbin.c:5722:gst_webrtc_bin_change_state: changing
          state: PAUSED => PLAYING<br>
        </div>
        <div><br>
        </div>
        <div>And that's all. No more on-negotiation-needed callback.
          Nothing.</div>
        <div><br>
        </div>
        <div>How to proceed further with webrtc connection? How to
          re-init it after the pipeline is running to make it call
          on-negotiation-needed callback?</div>
        <div><br>
        </div>
        <div>Thank you in advance,</div>
        <div>Best regards,</div>
        <div>Anton.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>