mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
"url" is deprecated in interface RTCIceServer, changed to "urls'
instead;
This commit is contained in:
1 parent
5d0f2126c8
commit
1350c60376
2 files changed
+3
-3
No files matched your search
@@ -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