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

Unified Diff: chrome/test/data/webrtc/manual/peerconnection.js

Issue 297163007: Removed webkit prefix when creating peerconnection object + fix DTMF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d7901f79e16ad2fbebd4a26697681abdb6622b3..ccbeecfb1c3473937bafb79df2924980a1c9806f 100644
--- a/chrome/test/data/webrtc/manual/peerconnection.js
+++ b/chrome/test/data/webrtc/manual/peerconnection.js
@@ -454,7 +454,7 @@ function createPeerConnection(stun_server, useRtpDataChannels) {
servers = {iceServers: [{url: 'stun:' + stun_server}]};
try {
var constraints = { optional: [{ RtpDataChannels: useRtpDataChannels }]};
- peerConnection = new webkitRTCPeerConnection(servers, constraints);
+ peerConnection = new RTCPeerConnection(servers, constraints);
} catch (exception) {
error_('Failed to create peer connection: ' + exception);
}
@@ -501,7 +501,7 @@ function createDtmfSender(peerConnection) {
if (global.dtmfSender != null)
error_('Creating DTMF sender, but we already have one.');
- var localStream = global.localStream();
+ var localStream = global.localStream;
if (localStream == null)
error_('Creating DTMF sender but local stream is null.');
local_audio_track = localStream.getAudioTracks()[0];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698