mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
"url" is deprecated in interface RTCIceServer, changed to "urls'
instead;
This commit is contained in:
@@ -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 } };
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ declare var RTCConfiguration: {
|
||||
};
|
||||
|
||||
interface RTCIceServer {
|
||||
url: string;
|
||||
urls: string;
|
||||
credential?: string;
|
||||
}
|
||||
declare var RTCIceServer: {
|
||||
|
||||
Reference in New Issue
Block a user