Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2091)

Unified Diff: content/test/data/media/peerconnection-call.html

Issue 2365883002: Expose the MediaStream interface (Closed)
Patch Set: drop TODO Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/data/media/getusermedia.html ('k') | ppapi/examples/video_effects/video_effects.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/media/peerconnection-call.html
diff --git a/content/test/data/media/peerconnection-call.html b/content/test/data/media/peerconnection-call.html
index b285bc1a8e04ee3a74787a2a40cba73496bf087e..c592ab2c9b708191a6dc1eca825e8c4d217bd047 100644
--- a/content/test/data/media/peerconnection-call.html
+++ b/content/test/data/media/peerconnection-call.html
@@ -134,7 +134,7 @@
detectVideoPlaying('remote-view-2', function() {
// Construct a new media stream with remote tracks.
- var newStream = new webkitMediaStream();
+ var newStream = new MediaStream();
newStream.addTrack(
gSecondConnection.getRemoteStreams()[0].getAudioTracks()[0]);
newStream.addTrack(
@@ -447,7 +447,7 @@
if (typeof localStream.clone === "function") {
clonedStream = localStream.clone();
} else {
- clonedStream = new webkitMediaStream(localStream);
+ clonedStream = new MediaStream(localStream);
}
gFirstConnection.addStream(localStream);
@@ -481,7 +481,7 @@
// added to both peer connections.
function createNewVideoStreamAndAddToBothConnections(localStream) {
displayAndRemember(localStream);
- var newStream = new webkitMediaStream();
+ var newStream = new MediaStream();
newStream.addTrack(localStream.getVideoTracks()[0]);
gFirstConnection.addStream(newStream);
gSecondConnection.addStream(newStream);
« no previous file with comments | « content/test/data/media/getusermedia.html ('k') | ppapi/examples/video_effects/video_effects.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698