[libnice] How to get socket in relay mode?

Alex Netes alex at 8e14.net
Thu Jul 16 12:48:19 UTC 2020


I'm trying to implement PMTU Discovery over libnice.
In order to do so, I want to retrieve the selected socket,
change IP_MTU_DISCOVER socket_opt, run the PMTU test
and return IP_MTU_DISCOVER socket_opt to default.

My problem is that nice_agent_get_selected_socket() doesn't work for relay
mode.
Any thoughts, how else can I retrieve the socket in case of relay mode?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20200716/be9a061e/attachment.htm>


More information about the nice mailing list