mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Case change and callbacks for addIceCandidate
This commit is contained in:
1 parent
a45ffabb4e
commit
edc17cd1b4
1 file changed
+5
-3
Vendored
+5
-3
@@ -71,8 +71,8 @@ interface RTCMediaConstraints {
|
||||
}
|
||||
|
||||
interface RTCMediaOfferConstraints {
|
||||
OfferToReceiveAudio: boolean;
|
||||
OfferToReceiveVideo: boolean;
|
||||
offerToReceiveAudio: boolean;
|
||||
offerToReceiveVideo: boolean;
|
||||
}
|
||||
|
||||
interface RTCSessionDescriptionInit {
|
||||
@@ -261,7 +261,9 @@ interface RTCPeerConnection {
|
||||
signalingState: string; // RTCSignalingState; see TODO(1)
|
||||
updateIce(configuration?: RTCConfiguration,
|
||||
constraints?: RTCMediaConstraints): void;
|
||||
addIceCandidate(candidate: RTCIceCandidate): void;
|
||||
addIceCandidate(candidate:RTCIceCandidate,
|
||||
successCallback:() => void,
|
||||
failureCallback:RTCPeerConnectionErrorCallback): void;
|
||||
iceGatheringState: string; // RTCIceGatheringState; see TODO(1)
|
||||
iceConnectionState: string; // RTCIceConnectionState; see TODO(1)
|
||||
getLocalStreams(): MediaStream[];
|
||||
|
||||
Reference in new issue
Block a user