<div dir="ltr">Hi,<div><br></div><div>I am wondering if it is possible to force libnice to ignore host candidates?</div><div>I have a use case where I would like to test the connection locally on the</div><div>same machine as if there were actually two machines involved:</div><div><br></div><div>```</div><div><div>+--------------------+</div><div>| Desktop            |</div><div>|----------+---------|</div><div>|  Peer L  | Peer R  |</div><div>+----------+---------+</div><div>    ^          |</div><div>    |          |</div><div>    |          V</div><div>+---o----------o----+</div><div>|        NAT        |</div><div>+---o----------o----+</div><div>    |          |</div><div>     \<------</</div></div><div>```</div><div><br></div><div>I have written a simple program that creates two agents on two threads</div><div>and then connects them using `nice_agent_generate_local_sdp(...)` and</div><div>`nice_agent_parse_remote_sdp(...)`.</div><div><br></div><div>I have then just added a pretty whacky step where it would remove all</div><div>`typ host` candidates from the offer. It's pretty crude, and probably completely</div><div>wrong, but I have seen no exported api to achieve this otherwise.</div><div><br></div><div>I have hosted the sample program as a gist on github: <a href="https://gist.github.com/felixSchl/1a8926689bc363e47a3b">https://gist.github.com/felixSchl/1a8926689bc363e47a3b</a></div><div>It should just compile. I compiled against libnice 0.1.13 on OSX.</div><div><br></div><div>Regards,</div><div><br></div><div>Felix Schlitter</div><div><br></div><div>PS: It would be great to see this project hosted on github... using the mailing</div><div>list is pretty off-putting - the search function does not seem to work, so I could not search</div><div>if someone had asked sth like this before, unless I click manually through 5 years</div><div>worth of threads... Also submitting pull requests would be a lot easier than attaching patches</div><div>which may go stale. I would be happy to volunteer time to help this transition.</div></div>