| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Adding a track to a MediaStream</title> | 4 <title>Adding a track to a MediaStream</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://dev.w3.org/2011/webrtc/editor/getusermedia.html#wi
dl-MediaStreamTrackList-add-void-MediaStreamTrack-track"> | 6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#wi
dl-MediaStreamTrackList-add-void-MediaStreamTrack-track"> |
| 7 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#ev
ent-mediastream-addtrack"> | 7 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#ev
ent-mediastream-addtrack"> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <p class="instructions">When prompted, accept to share your audio stream, then y
our video stream.</p> | 10 <p class="instructions">When prompted, accept to share your audio stream, then y
our video stream.</p> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 assert_equals(audio.getVideoTracks().length, 1, "audio mediastream now ha
s one video track"); | 45 assert_equals(audio.getVideoTracks().length, 1, "audio mediastream now ha
s one video track"); |
| 46 }); | 46 }); |
| 47 t.step(function () { | 47 t.step(function () { |
| 48 t.done(); | 48 t.done(); |
| 49 }); | 49 }); |
| 50 } | 50 } |
| 51 }); | 51 }); |
| 52 </script> | 52 </script> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |