[Webkit-unassigned] [Bug 208373] New: addTrack doesn't fire onnegotiationneeded event
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 28 06:42:21 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=208373
Bug ID: 208373
Summary: addTrack doesn't fire onnegotiationneeded event
Product: WebKit
Version: WebKit Nightly Build
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bogdanostojic1993 at gmail.com
CC: youennf at gmail.com
Both Participants are on Desktop.
Participant A:
- OS: MacOS version 10.15.3
- Browser: Safari version 13.0.5
Participant B:
- OS: Windows 10 Pro N version 1903
- Browser: Chrome version 80.0.3987.122
Participant A has onnegotationneeded event defined as:
async function negotiate(e) {
let offer;
offer = await pc.createOffer();
await pc.setLocalDescription(offer);
//send offer to remote with websocket
}
If participant A creates a offer with audio only stream, and remote participant B creates an answer with audio only stream also, the connection is established.
After Participant A adds a video stream with RTCPeerConnection.addTrack(), participant B's RTCPeerConnection.ontrack event doesn't fire.
Also Participant A doesn't fire onnegotationneeded event, if I manually call RTCPeerConnection.createOffer() after calling addTrack, remote participant B's ontrack event fires.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200228/49ac7614/attachment-0001.htm>
More information about the webkit-unassigned
mailing list