5 ms·
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-channel-max-dat
by cyanydeez 5mo 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-channel-max-data-size https://stackoverflow.com/questions/35381237/webrtc-data-cha...
last I checked, all browsers silently fail if it's too big.
- syllogistic 5mo agoYes! 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].
- Sean-Der 5mo agoThis 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/e4ff415b2bff31382bdb803b62e8b08d6d000911 https://github.com/pion/webrtc/commit/e4ff415b2bff31382bdb80...
- syllogistic 5mo agoGood to know, thanks! Though maybe I’ll keep my old limits for old browser compatibility.