<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/">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">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" width="175" height="60" style="border:none"></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></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">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>