<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hi,</div><div><br></div><div>There is currently no API to do that, </div><div><br></div><div>That said, I'm not sure how useful this is for TURN as you don't have the PMTU on the other side of the TURN server?</div><div><br></div><div>I think this is the kind of feature that would in theory be added inside of libnice, but only if we can do it in a "safe" way. For example, by running the PMTU test using keepalive STUN indications.</div><div><br></div><div>Olivier</div><div><br></div><div>On Thu, 2020-07-16 at 15:48 +0300, Alex Netes wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>I'm trying to implement PMTU Discovery over libnice.</div><div>In order to do so, I want to retrieve the selected socket,</div><div>change IP_MTU_DISCOVER socket_opt, run the PMTU test</div><div>and return IP_MTU_DISCOVER socket_opt to default.</div><div><br></div><div>My problem is that nice_agent_get_selected_socket() doesn't work for relay mode.</div><div>Any thoughts, how else can I retrieve the socket in case of relay mode?</div></div>
<pre>_______________________________________________</pre><pre>nice mailing list</pre><a href="mailto:nice@lists.freedesktop.org"><pre>nice@lists.freedesktop.org</pre></a><pre><br></pre><a href="https://lists.freedesktop.org/mailman/listinfo/nice"><pre>https://lists.freedesktop.org/mailman/listinfo/nice</pre></a><pre><br></pre></blockquote><div><span><pre>-- <br></pre><div>Olivier CrĂȘte</div><div><a href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a></div><div><br></div></span></div></body></html>