Closed xicilion closed 1 month ago
The logic is that you should not modify the local description once the connection process is started. The core issue is that node-datachannel's polyfill starts the connection immediately, createOffer()
and setLocalDescription()
are basically useless. See related answer in https://github.com/paullouisageneau/libdatachannel/issues/1218#issuecomment-2192567266
In the following code snippet:
When
agent_set_local_ice_attributes
is called, because (https://github.com/paullouisageneau/libjuice/blob/master/src/agent.c#L573):agent_set_local_ice_attributes
will refuse to setice_ufrag
andice_pwd
.