OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>MediaStream constructor algorithm</title> | 4 <title>MediaStream constructor algorithm</title> |
5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> | 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> |
6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
idl-def-MediaStream"> | 6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
idl-def-MediaStream"> |
7 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
widl-MediaStream-id"> | 7 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
widl-MediaStream-id"> |
8 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
mediastream"> | 8 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
mediastream"> |
9 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
event-mediastreamtrack-ended"> | 9 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
event-mediastreamtrack-ended"> |
10 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
widl-MediaStreamTrack-stop-void"> | 10 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
widl-MediaStreamTrack-stop-void"> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 var stream5 = new MediaStream([audioTrack2]); | 43 var stream5 = new MediaStream([audioTrack2]); |
44 assert_false(stream5.active, "a MediaStream created using the MediaStream()
constructor whose arguments are lists of MediaStreamTrack objects that are all
ended, the MediaStream object MUST be created with its active attribute set to f
alse"); | 44 assert_false(stream5.active, "a MediaStream created using the MediaStream()
constructor whose arguments are lists of MediaStreamTrack objects that are all
ended, the MediaStream object MUST be created with its active attribute set to f
alse"); |
45 t.done(); | 45 t.done(); |
46 }), false); | 46 }), false); |
47 audioTrack2.stop(); | 47 audioTrack2.stop(); |
48 }), function(error) {}); | 48 }), function(error) {}); |
49 }); | 49 }); |
50 </script> | 50 </script> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |