<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    This sounds like a bug, let me just sum up to make sure I understood
    right:<br>
    <br>
    The browser offers a SDP with audio and video medias marked as
    recvonly,<br>
    and webrtcbin, which had a single (video) stream plugged into it,
    answers with<br>
    both medias still marked as recvonly? If so, this should definitely
    not happen,<br>
    but I have personally never tested this use case :)<br>
    <br>
    Can you file an issue against -bad, ideally with all the code and
    instructions for<br>
    reproducing?<br>
    <br>
    <div class="moz-cite-prefix">On 2/19/19 9:49 AM, Michael Watson
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFikSjxqmS5KO0WodYK=6ffphHe9i4D3V6L=uiGvWUO515q0iA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hi,
        <div dir="auto"><br>
        </div>
        <div dir="auto">I'm running up against a bit of a problem with a
          PoC I'm working on in Rust. The idea is to try and replicate
          the behaviour of one of the pions golang webrtc examples that
          uses this JSFiddle to generate a recvonly offer: <a
            href="https://jsfiddle.net/Laf7ujeo/164/"
            moz-do-not-send="true">https://jsfiddle.net/Laf7ujeo/164/</a></div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I have this PoC server, which I am feeding the
          offer to (after base64 decoding it): <a
            href="https://gist.github.com/mchlrhw/c365bc8acdeac18c1626de3f92cffba5"
            moz-do-not-send="true">https://gist.github.com/mchlrhw/c365bc8acdeac18c1626de3f92cffba5</a></div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">The code generated an answer, but it has
          recvonly set for both media streams instead of sendonly for
          video (and I presume inactive for audio).</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I just wondered if this is expected? Does
          webrtcbin support recvonly offers? Or does it expect the
          caller to be sending media and the receiver to decide whether
          to recvonly or sendrecv?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Thanks for your help,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Michael</div>
      </div>
      <br>
      <p dir="ltr"
style="font-family:Arial,Helvetica,sans-serif;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:"Open Sans";color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/keWjIBnA9fqOsRnDxXCsqSmVGsfmPpVFqMLRJkvVufmxIgCUBpXlpGYxaw115UloZ5am3pxgZ7jQYpYtG9J4MCyQ29IFftXcz7VgQnLrwXClhaO1D-3MtDuMgQaYv-i9_bnRj1LS" style="border:none" moz-do-not-send="true" width="175" height="60"></span></p>
      <p dir="ltr"
        style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:'Open Sans';color:#666666;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Cocoon</span><span style="font-size:9.5pt;font-family:'Open Sans';color:#666666;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> is home security without the hassle.</span></p>
      <p dir="ltr"
        style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br>
      </p>
      <p dir="ltr"
        style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:'Open Sans';color:#666666;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></p>
      <hr>
      <p dir="ltr"
        style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:'Open Sans';color:#666666;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">This communication is only for the use of the addressee. It may contain information which is confidential and commercially sensitive. If you are not the intended recipient you must not read, copy, distribute or spread this communication or any attachments to anyone other than the addressee or use the information it contains. If you receive this communication in error, please inform us by telephone at once. No responsibility is accepted by Cocoon Labs Ltd for personal e-mails, or e-mails unconnected with the company's business.</span></p>
      <p dir="ltr"
style="font-family:Arial,Helvetica,sans-serif;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br>
      </p>
      <p dir="ltr"
        style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:'Open Sans';color:#666666;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Cocoon Labs Ltd is a company registered in England and Wales. Registered number: 09045251. Registered office: 46 The Calls, Leeds, LS2 7EY, UK.</span></p>
      <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>
  </body>
</html>