johanhelsing / matchbox

Painless peer-to-peer WebRTC networking for rust wasm (and native!)
Apache License 2.0
869 stars 72 forks source link

Don't log null ice candidates as errors on native #327

Closed simbleau closed 12 months ago

simbleau commented 12 months ago

Closes #280

The root cause of the issue is, when a native client receives ICE candidates from a WASM client, a "null" is sent as the terminating signal to delineate the end of candidates.

This is expected behavior, but is logged as an error for native.

This ensures the same behavior exists on web/native.