paullouisageneau / libjuice

JUICE is a UDP Interactive Connectivity Establishment library
Mozilla Public License 2.0
403 stars 75 forks source link

Support custom ICE ufrag and pwd fields via config #249

Closed achingbrain closed 2 months ago

achingbrain commented 2 months ago

This is to enable setting a pre-shared ufrag/pwd as part of implementing libp2p WebRTC-Direct.

Refs: https://github.com/paullouisageneau/libdatachannel/issues/1166

achingbrain commented 2 months ago

Apologies in advance if I've made some basic errors - C is not my forte though I've tried to add a test..

paullouisageneau commented 2 months ago

If I'm not mistaken, this was already added by @xicilion in https://github.com/paullouisageneau/libjuice/pull/243

achingbrain commented 2 months ago

Very true! Not enough coffee, sorry..