Index: chrome/test/data/webrtc/manual/peerconnection.js |
diff --git a/chrome/test/data/webrtc/manual/peerconnection.js b/chrome/test/data/webrtc/manual/peerconnection.js |
index 1f8618115382cb062c7aa0bbff0c20ab26f79e45..7fc352711244a05bfac2b3ac46cda5aa7491c036 100644 |
--- a/chrome/test/data/webrtc/manual/peerconnection.js |
+++ b/chrome/test/data/webrtc/manual/peerconnection.js |
@@ -54,25 +54,25 @@ function hangUpFromHere() { |
function toggleRemoteVideoFromHere() { |
toggleRemoteStream(function(remoteStream) { |
- return remoteStream.videoTracks[0]; |
+ return remoteStream.getVideoTracks()[0]; |
}, 'video'); |
} |
function toggleRemoteAudioFromHere() { |
toggleRemoteStream(function(remoteStream) { |
- return remoteStream.audioTracks[0]; |
+ return remoteStream.getAudioTracks()[0]; |
}, 'audio'); |
} |
function toggleLocalVideoFromHere() { |
toggleLocalStream(function(localStream) { |
- return localStream.videoTracks[0]; |
+ return localStream.getVideoTracks()[0]; |
}, 'video'); |
} |
function toggleLocalAudioFromHere() { |
toggleLocalStream(function(localStream) { |
- return localStream.audioTracks[0]; |
+ return localStream.getAudioTracks()[0]; |
}, 'audio'); |
} |