This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25629 - Give more clarity on initializing AduioTrack.enabled and VideoTrack.selected in "Loading and Playing a MediaStream in a Media Element"
Summary: Give more clarity on initializing AduioTrack.enabled and VideoTrack.selected ...
Status: RESOLVED WONTFIX
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-09 05:14 UTC by Kiran
Modified: 2014-07-01 09:11 UTC (History)
3 users (show)

See Also:


Attachments

Description Kiran 2014-05-09 05:14:29 UTC
This bug is logged, only to provide more clarity for implementers for initializing VideoTrack.selected and AudioTrack.enabled attributes.


We have two alternatives to provide this 

Add 

o. AudioTrack.enabled be true.
o. videoTrack.selected be false.

As that was earlier for all tracks by default and then continue with the existing text.

or

Since MediaCapture spec is refering to media element spec for this initialization part, as stefan suggested, we can add this as a Note in the spec as shown below.

Note: The default value for Audio.enabled will be true and that of VideoTrack.selected false if they are not enabled or selected by media element load algorithm respectively.


(Adding these is just for clarity but not mandatory)
Comment 1 Adam Bergkvist 2014-05-18 21:10:17 UTC
The reason for removing the corresponding text from our document was that it was already taken care of in a referenced document. Adding text about it on a second place could lead to inconsistencies.
Comment 2 Adam Bergkvist 2014-05-18 21:12:23 UTC
We also have this text in our document (that clarifies how these attributes are set):

"This allows the media element load algorithm to set AudioTrack.enabled, VideoTrack.selected and VideoTrackList.selectedIndex accordingly."
Comment 3 Harald Alvestrand 2014-07-01 09:11:51 UTC
Closing as "no change needed".