[Webkit-unassigned] [Bug 172761] New: Crash on resetting video.srcObject after replaceTrack
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 31 11:09:05 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=172761
Bug ID: 172761
Summary: Crash on resetting video.srcObject after replaceTrack
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrew at tokbox.com
When using .replaceTrack on the RtcRtpSender, to update the local video I also used .removeTrack and .addTrack on the local stream. In Firefox I found it was sometimes necessary to do `video.srcObject = video.srcObject;` to make it display the new video properly. When I ran the same code on WebKit, it crashed.
(Note: It does work fine for me without resetting the srcObject in WebKit though.)
I created this jsbin based on the basic RTCPeerConnection webrtc sample to demonstrate the issue:
https://output.jsbin.com/qewizecate
(Click 'Start', 'Call', check 'Refresh srcObject', click 'Change Video'.)
--
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/20170531/41e04cef/attachment-0001.html>
More information about the webkit-unassigned
mailing list