I have a problem with big file transfers (> ~3MB). I am using only-udp WebRTCTransport. I create the DataProducer with the option ordered set to true (also, as documented the maxPacketLifeTime and maxRetransmits options are undefined).
For transmitting files, I split them to 64 KiB chunks and send them idividually. When the buffer hits 100KiB, I wait for the channel to send some chunks (80ms) and then I resume. The result is that the received messages are indeed in order, however not every message was received, which is contrary to the fact that datachannels are reliable.
Has anyone bumped into this issue? I experience this with both Chrome and Firefox.
Worth mentioning: in local it is working if I increase the waiting time, but it slows down the transfer significantly.