[Webkit-unassigned] [Bug 175434] New: WebRTC MediaStream created without tracks does not update active state after tracks are added

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 10 11:15:12 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175434

            Bug ID: 175434
           Summary: WebRTC MediaStream created without tracks does not
                    update active state after tracks are added
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: brian at jitsi.org

Created attachment 317827

  --> https://bugs.webkit.org/attachment.cgi?id=317827&action=review

javascript test to illustrate the bug

Summary:
When a new MediaStream is created manually, its "active" field is set to false (which is correct).  However, after adding an active track to the stream, its "active" field is not updated, and remains false.  It should update to reflect the state of its tracks.

Steps to Reproduce:
1) Create a MediaStream with a video track via getUserMedia ("ms1")
2) Create a new MediaStream manually (via something like "var ms2 = new MediaStream()"
3) Do: ms2.addTrack(ms1.getVideoTracks()[0]);

Expected Results:
ms2 should be active ("active: true")

Observed Results:
ms2 isn't active ("active: false")

Version:
Release 35 (Safari 11.0, WebKit 12604.1.29)

Notes:
Attached a simple example html file that reproduces the issue

Configuration:
This is running on a macbook, running Sierra 10.12.5 (16F73)

-- 
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/20170810/03f0e7b4/attachment-0001.html>


More information about the webkit-unassigned mailing list