Every now and then, when sending a lot of data via a data channel, a DTLS packet of size ~16 KiB is being sent on the wire which obviously goes beyond the typically acceptable MTU. This breaks interop with libwebrtc/Chrome which seems not to be able to handle DTLS application data packets of that size (it logs "short DTLS read. flushing" - probably just doesn't read all of it). In such a case, libwebrtc/Chrome closes the DTLS transport.
Bug 1646715 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Every now and then, when sending a lot of data via a data channel, a DTLS packet of size ~16 KiB is being sent on the wire which obviously goes beyond the typically acceptable MTU. This breaks interop with libwebrtc/Chrome which seems not to be able to handle DTLS application data packets of that size (it logs "short DTLS read. flushing" - probably just doesn't read all of it). In such a case, libwebrtc/Chrome closes the DTLS transport. I'd imagine interop isn't the main problem here though since it shouldn't send packets greater than the MTU anyway.