- From: <bugzilla@jessica.w3.org>
- Date: Sat, 05 Apr 2014 18:35:35 +0000
- To: public-media-capture@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25275
Bug ID: 25275
Summary: VideoTrackList.selectedIndex initialization confilicts
with HTML5 spec, "if no track is selected".
Product: WebRTC Working Group
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Media Capture and Streams
Assignee: public-media-capture@w3.org
Reporter: kiran.guduru@samsung.com
CC: public-media-capture@w3.org
In Media Capture and Streams spec [1] it is specified that
VideoTrackList.selectedIndex should be initialized to "0" if no track is
selected.
But according to HTML5 spec [2], VideoTrackList.selectedIndex should be
initialized to "-1" if no track is selected.
"media . videoTracks . selectedIndex
Returns the index of the currently selected track, if any, or −1 otherwise."
[1]
http://dev.w3.org/2011/webrtc/editor/getusermedia.html#loading-and-playing-a-mediastream-in-a-media-element
[2]
http://www.w3.org/TR/html5/embedded-content-0.html#audiotracklist-and-videotracklist-objects
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Saturday, 5 April 2014 18:35:37 UTC