Closed
Bug 797084
Opened 12 years ago
Closed 6 years ago
DataChannel needs to proxy IO (usrsctp_sendv()) to off-main-thread
Categories
(Core :: WebRTC, defect, P4)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
backlog | webrtc/webaudio+ |
People
(Reporter: jesup, Assigned: jesup)
References
Details
SendControlMessage and SendMsgInternal both call usrsctp_sendv directly. We should proxy all IO to another thread (off mainthread), as WebSockets does with the OutboundEnqueue stuff.
Note that DataChannels works in non-blocking mode currently, and internally queues using the SendDeferredMessages() function, but this requires extra memory buffering for large binary transfers.
SendDeferredMessages() is also non-optimal since it uses a timer instead of waiting, so it may not be 100% efficient at saturating your link ;-)
Probably does NOT block preffing on webrtc
Updated•12 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc-]
Updated•10 years ago
|
backlog: --- → webRTC+
Rank: 38
Priority: -- → P3
QA Contact: jsmith
Whiteboard: [WebRTC], [blocking-webrtc-]
Comment 1•7 years ago
|
||
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Assignee | ||
Comment 2•6 years ago
|
||
Fixed long ago. Happens on Socket Thread
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•