Remix.run Logo
cyanydeez 3 hours ago

just wait till you try to send a data packet in webrtc that's too large in the browser. https://stackoverflow.com/questions/35381237/webrtc-data-cha...

last I checked, all browsers silently fail if it's too big.

Sean-Der an hour ago | parent | next [-]

This should be fixed!

I added this in Pion here[0] and I remember testing against Chrome + FireFox and it seemed to work great!

[0] https://github.com/pion/webrtc/commit/e4ff415b2bff31382bdb80...

syllogistic an hour ago | parent [-]

Good to know, thanks!

Though maybe I’ll keep my old limits for old browser compatibility.

syllogistic 3 hours ago | parent | prev [-]

Yes! that's the "other reconstruct" I mention on the post. maxMessageSize at least appears in SDP and getStats. We ended up patching both at our client to be safe [800 bytes and 16kb respectively].