"url" is deprecated in interface RTCIceServer, changed to "urls'

instead;
This commit is contained in:
Hans-Georg Haberl
2016-01-29 17:14:37 +01:00
parent 5d0f2126c8
commit 1350c60376
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/// <reference path="MediaStream.d.ts" />
/// <reference path="MediaStream.d.ts" />
/// <reference path="RTCPeerConnection.d.ts" />
var config: RTCConfiguration =
{ iceServers: [{ url: "stun.l.google.com:19302" }] };
{ iceServers: [{ urls: "stun.l.google.com:19302" }] };
var constraints: RTCMediaConstraints =
{ mandatory: { offerToReceiveAudio: true, offerToReceiveVideo: true } };
+1 -1
View File
@@ -29,7 +29,7 @@ declare var RTCConfiguration: {
};
interface RTCIceServer {
url: string;
urls: string;
credential?: string;
}
declare var RTCIceServer: {