Modify RTCDataChannels to remove sending of 16K chunks

RESOLVED WORKSFORME

Status

()

Core
WebRTC: Networking
P2
normal
Rank:
22
RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: webmaster, Assigned: jesup)

Tracking

41 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36

Steps to reproduce:

send data block from Firefox to Chrome via dataChannel in the WebRTC component.


Actual results:

Chrome reports malformatted data packages. Firefox -> Firefox, Chrome -> Firefox and Chrome -> Chrome are ok.


Expected results:

Chrome should recognize data package sent from Firefox to Chrome sent via WebRTC dataChannel

Updated

3 years ago
Component: Untriaged → WebRTC: Networking
Product: Firefox → Core
(Assignee)

Comment 1

3 years ago
Firefox chunks data using the original chunking protocol defined to allow send to take arbitrarily-large data.  In Firefox->Chrome, if you keep the send() size below 16K we won't chunk it, and avoids confusing Chrome.
Assignee: nobody → rjesup
backlog: --- → webrtc/webaudio+
Rank: 22
Priority: -- → P2
Summary: Send data packages from fixefox to chrome via dataChannel of WebRTC failed → Modify RTCDataChannels to remove sending of 16K chunks
(Reporter)

Comment 2

3 years ago
Thanks, that solves my problem. For me this is closed, but for the lib itself, I will leave it up to you guys to decide.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.