[Webkit-unassigned] [Bug 209242] New: unmute event never fired on remote WebRTC tracks on packet reception
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 18 11:23:50 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209242
Bug ID: 209242
Summary: unmute event never fired on remote WebRTC tracks on
packet reception
Product: WebKit
Version: Safari 13
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jib at mozilla.com
CC: youennf at gmail.com
According to the spec example https://w3c.github.io/webrtc-pc/#simple-peer-to-peer-example the following should work, but does not work in Safari:
pc.ontrack = ({track, streams}) => {
// once media for a remote track arrives, show it in the remote video element
track.onunmute = () => {
// don't set srcObject again if it is already set.
if (remoteView.srcObject) return;
remoteView.srcObject = streams[0];
};
};
STRs:
1. Open https://blog.mozilla.org/webrtc/rtcrtptransceiver-explored/ and scroll down and click the "Result" button in the first jsfiddle
(or use direct link: https://jsfiddle.net/jib1/z0desL8x/89/show )
2. Share camera and microphone
3. Click the first Remote control button to add a transceiver.
Expected result (like Chrome, Firefox & Edge):
pc.ontrack with transceiver and streams
transceiver.receiver.track.onunmute
Actual result (like Chrome, Firefox & Edge):
pc.ontrack with transceiver and streams
In the other browsers, tracks surfaced in pc.ontrack are in muted state, and the unmute event fires on them when their packets first arrive.
In Safari, tracks surfaced in pc.ontrack are instead in unmuted state, and no unmute event ever fires when their packets first arrive.
This is a web compat issue.
https://wpt.fyi/results/webrtc/RTCPeerConnection-remote-track-mute.https.html?label=experimental&label=master&aligned
--
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/20200318/760d2082/attachment-0001.htm>
More information about the webkit-unassigned
mailing list