list of conformance requirements in Media Capture and Streams up to (but not including) section 4.3 (ed. draft http://dev.w3.org/2011/webrtc/editor/archives/20130529/getusermedia.html )
authorDominique Hazael-Massieux <dom@w3.org>
Mon, 03 Jun 2013 23:35:43 +0200
changeset 65 8cf68a742192
parent 64 37c520c24572
child 66 053a63e54839
list of conformance requirements in Media Capture and Streams up to (but not including) section 4.3 (ed. draft http://dev.w3.org/2011/webrtc/editor/archives/20130529/getusermedia.html )
submitted/W3C/assertions.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/submitted/W3C/assertions.txt	Mon Jun 03 23:35:43 2013 +0200
@@ -0,0 +1,54 @@
+* The output of a MediaStream object MUST correspond to the tracks in its input.
+> Not clear how to test (or what it means)
+
+* Muted audio tracks MUST be replaced with silence. Muted video tracks MUST be replaced with blackness.
+
+* MediaStream constructor algorithm
+
+* The track set MUST contain the MediaStreamTrack objects that correspond to the tracks of the stream.
+> Not clear how to test (or what it means)
+
+* MediaStream end algorithm, incl. network vs user interaction task source
+
+* MediaStream interface WebIDL
+= mediastream-idl.html
+
+* The MediaStream.ended attribute MUST return true if the MediaStream has finished, and false otherwise.
+= stream-ended.html
+= mediastream-finished-add.html
+
+* When a MediaStream object is created, its ended attribute MUST be set to false
+= stream-ended.html
+
+* [If a MediaStream] is being created using the MediaStream() constructor whose arguments are lists of MediaStreamTrack objects that are all ended, in which case the MediaStream object MUST be created with its ended attribute set to true.
+
+* When a MediaStream object is created, the user agent MUST generate a globally unique identifier string, and MUST initialize the object's id attribute to that string. Such strings MUST only use characters in the ranges U+0021, U+0023 to U+0027, U+002A to U+002B, U+002D to U+002E, U+0030 to U+0039, U+0041 to U+005A, U+005E to U+007E, and MUST be 36 characters long.
+The id attribute MUST return the value to which it was initialized when the object was created.
+
+* mediastream addtrack events (addEventListener + onaddtrack)
+= mediastream-addtrack.html
+
+* mediastream removetrack events (addEventListener + onremovetrack)
+= mediastream-removetrack.html
+
+* mediastream onended events   (addEventListener + onended)
+= stream-ended.html
+
+* mediastream addTrack algorithm
+= mediastream-addtrack.html
+= mediastream-finished-add.html
+
+* mediastream clone algorithm
+
+* The getAudioTracks() method MUST return a sequence that represents a snapshot of all the MediaStreamTrack objects in this stream's track set whose kind is equal to "audio"
+= audio.html
+
+* The getTrackById() method MUST return the first MediaStreamTrack object in this stream's track set whose id is equal to trackId. The method MUST return null if no track matches the trackId argument.
+
+* The getVideoTracks() method MUST return a sequence that represents a snapshot of all the MediaStreamTrack objects in this stream's track set whose kind is equal to "video". 
+= video.html
+
+* removeTrack algorithm
+= mediastream-removetrack.html
+= mediastream-finished-add.html
+