Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
DefinitelyTyped
Index
Variables
IceState
MediaStream
MediaStreamConstraints
MediaStreamTrack
MediaStreamTrackList
MediaTrackConstraint
MediaTrackConstraintSet
MediaTrackConstraints
NavigatorUserMediaError
PeerConnectionIceEvent
RTCConfiguration
RTCDataChannel
RTCDataChannelEvent
RTCIceCandidate
RTCIceCandidateInit
RTCIceServer
RTCPeerConnection
RTCPeerConnectionConfig
RTCSessionDescription
RTCSessionDescriptionInit
SourceInfo
webkitMediaStream
webkitMediaStreamTrackList
webkitRTCPeerConnection
webkitURL
Enumerations
RTCDataChannelState
RTCSdpType
Interfaces
EventHandler
EventInit
LocalMediaStream
MediaConstraints
MediaOfferConstraints
Navigator
NavigatorUserMediaErrorCallback
NavigatorUserMediaSuccessCallback
RTCDataChannelEventInit
RTCDataChannelInit
RTCIceCandidateEvent
RTCIceConnectionState
RTCIceGatheringState
RTCMediaStreamEvent
RTCPeerConnectionErrorCallback
RTCPeerState
RTCSessionDescriptionCallback
RTCSignalingState
RTCVoidCallback
SdpType
WebkitURL
streamURL
Variables
IceState
:
IceState
MediaStream
:
MediaStream
public
ended
:
boolean
public
id
:
string
public
label
:
string
public
onended
:
(event: Event) => void
public
getAudioTracks
(
)
:
MediaStreamTrackList
Returns
MediaStreamTrackList
public
getVideoTracks
(
)
:
MediaStreamTrackList
Returns
MediaStreamTrackList
MediaStreamConstraints
:
MediaStreamConstraints
public
audio
:
any
public
video
:
any
MediaStreamTrack
:
MediaStreamTrack
public
ENDED
:
number
public
LIVE
:
number
public
MUTED
:
number
public
enabled
:
boolean
public
kind
:
string
public
label
:
string
public
onended
:
(event: Event) => void
public
onmute
:
(event: Event) => void
public
onunmute
:
(event: Event) => void
public
readyState
:
number
MediaStreamTrackList
:
MediaStreamTrackList
public
item
:
MediaStreamTrack
public
length
:
number
public
onaddtrack
:
(event: Event) => void
public
onremovetrack
:
(event: Event) => void
public
add
(
track
:
MediaStreamTrack
)
Parameters
track:
MediaStreamTrack
public
remove
(
track
:
MediaStreamTrack
)
Parameters
track:
MediaStreamTrack
MediaTrackConstraint
:
MediaTrackConstraint
MediaTrackConstraintSet
:
MediaTrackConstraintSet
MediaTrackConstraints
:
MediaTrackConstraints
public
mandatory
:
MediaTrackConstraintSet
public
optional
:
MediaTrackConstraint
[]
NavigatorUserMediaError
:
NavigatorUserMediaError
public
PERMISSION_DENIED
:
number
public
code
:
number
PeerConnectionIceEvent
:
PeerConnectionIceEvent
public
candidate
:
RTCIceCandidate
public
peer
:
RTCPeerConnection
RTCConfiguration
:
RTCConfiguration
public
iceServers
:
RTCIceServer
[]
RTCDataChannel
:
RTCDataChannel
public
binaryType
:
string
public
bufferedAmount
:
number
public
label
:
string
public
onclose
:
(event: Event) => void
public
onerror
:
(event: Event) => void
public
onmessage
:
(event: Event) => void
public
onopen
:
(event: Event) => void
public
readyState
:
RTCDataChannelState
public
reliable
:
boolean
public
addEventListener
(
type
:
string
, listener
:
EventListener
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
EventListener
useCapture?:
boolean
optional
public
close
(
)
public
dispatchEvent
(
evt
:
Event
)
:
boolean
Parameters
evt:
Event
Returns
boolean
public
removeEventListener
(
type
:
string
, listener
:
EventListener
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
EventListener
useCapture?:
boolean
optional
public
send
(
data
:
string
)
:
any
Parameters
data:
string
Returns
any
public
send
(
data
:
ArrayBuffer
)
:
any
Parameters
data:
ArrayBuffer
Returns
any
public
send
(
data
:
Blob
)
:
any
Parameters
data:
Blob
Returns
any
RTCDataChannelEvent
:
RTCDataChannelEvent
public
AT_TARGET
:
number
public
BUBBLING_PHASE
:
number
public
CAPTURING_PHASE
:
number
public
bubbles
:
boolean
public
cancelBubble
:
boolean
public
cancelable
:
boolean
public
channel
:
RTCDataChannel
public
currentTarget
:
EventTarget
public
defaultPrevented
:
boolean
public
eventPhase
:
number
public
isTrusted
:
boolean
public
srcElement
:
Element
public
target
:
EventTarget
public
timeStamp
:
number
public
type
:
string
public
constructor
(
eventInitDict
:
RTCDataChannelEventInit
)
:
any
Parameters
eventInitDict:
RTCDataChannelEventInit
Returns
any
public
initEvent
(
eventTypeArg
:
string
, canBubbleArg
:
boolean
, cancelableArg
:
boolean
)
Parameters
eventTypeArg:
string
canBubbleArg:
boolean
cancelableArg:
boolean
public
preventDefault
(
)
public
stopImmediatePropagation
(
)
public
stopPropagation
(
)
RTCIceCandidate
:
RTCIceCandidate
optional
public
candidate
?:
string
optional
public
sdpMLineIndex
?:
number
optional
public
sdpMid
?:
string
RTCIceCandidateInit
:
RTCIceCandidateInit
public
candidate
:
string
public
sdpMLineIndex
:
number
public
sdpMid
:
string
RTCIceServer
:
RTCIceServer
optional
public
credential
?:
string
public
url
:
string
RTCPeerConnection
:
RTCPeerConnection
public
iceConnectionState
:
RTCIceConnectionState
public
iceGatheringState
:
RTCIceGatheringState
public
localDescription
:
RTCSessionDescription
public
onaddstream
:
(event: RTCMediaStreamEvent) => void
public
onconnecting
:
(event: Event) => void
public
ondatachannel
:
(event: Event) => void
public
onicecandidate
:
(event: RTCIceCandidateEvent) => void
public
onicechange
:
(event: Event) => void
public
onidentityresult
:
(event: Event) => void
public
onnegotiationneeded
:
(event: Event) => void
public
onopen
:
(event: Event) => void
public
onremovestream
:
(event: RTCMediaStreamEvent) => void
public
onstatechange
:
(event: Event) => void
public
remoteDescription
:
RTCSessionDescription
public
signalingState
:
RTCSignalingState
public
addIceCandidate
(
candidate
:
RTCIceCandidate
)
Parameters
candidate:
RTCIceCandidate
public
addStream
(
stream
:
MediaStream
, constraints
?:
MediaConstraints
)
Parameters
stream:
MediaStream
constraints?:
MediaConstraints
optional
public
close
(
)
public
createAnswer
(
successCallback
:
RTCSessionDescriptionCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
, constraints
?:
MediaConstraints
)
Parameters
successCallback:
RTCSessionDescriptionCallback
failureCallback?:
RTCPeerConnectionErrorCallback
optional
constraints?:
MediaConstraints
optional
public
createDataChannel
(
label
?:
string
, dataChannelDict
?:
RTCDataChannelInit
)
:
RTCDataChannel
Parameters
label?:
string
optional
dataChannelDict?:
RTCDataChannelInit
optional
Returns
RTCDataChannel
public
createOffer
(
successCallback
:
RTCSessionDescriptionCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
, constraints
?:
MediaConstraints
)
Parameters
successCallback:
RTCSessionDescriptionCallback
failureCallback?:
RTCPeerConnectionErrorCallback
optional
constraints?:
MediaConstraints
optional
public
getLocalStreams
(
)
:
MediaStream
[]
Returns
MediaStream
[]
public
getRemoteStreams
(
)
:
MediaStream
[]
Returns
MediaStream
[]
public
removeStream
(
stream
:
MediaStream
)
Parameters
stream:
MediaStream
public
setLocalDescription
(
description
:
RTCSessionDescription
, successCallback
?:
RTCVoidCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
)
Parameters
description:
RTCSessionDescription
successCallback?:
RTCVoidCallback
optional
failureCallback?:
RTCPeerConnectionErrorCallback
optional
public
setRemoteDescription
(
description
:
RTCSessionDescription
, successCallback
?:
RTCVoidCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
)
Parameters
description:
RTCSessionDescription
successCallback?:
RTCVoidCallback
optional
failureCallback?:
RTCPeerConnectionErrorCallback
optional
public
updateIce
(
configuration
?:
RTCConfiguration
, constraints
?:
MediaConstraints
)
Parameters
configuration?:
RTCConfiguration
optional
constraints?:
MediaConstraints
optional
RTCPeerConnectionConfig
:
RTCPeerConnectionConfig
public
iceServers
:
RTCIceServer
[]
RTCSessionDescription
:
RTCSessionDescription
optional
public
sdp
?:
string
optional
public
type
?:
RTCSdpType
RTCSessionDescriptionInit
:
RTCSessionDescriptionInit
public
sdp
:
string
public
type
:
RTCSdpType
SourceInfo
:
SourceInfo
public
facing
:
string
public
id
:
string
public
kind
:
string
public
label
:
string
webkitMediaStream
:
{ prototype: MediaStream; new(): MediaStream; new(trackContainers: MediaStream[]): MediaStream; new(trackContainers: MediaStreamTrackList[]): MediaStream; new(trackContainers: MediaStreamTrack[]): MediaStream; }
constructor
(
)
:
MediaStream
Returns
MediaStream
constructor
(
)
:
MediaStream
Returns
MediaStream
constructor
(
)
:
MediaStream
Returns
MediaStream
constructor
(
)
:
MediaStream
Returns
MediaStream
public
webkitMediaStream.prototype
:
MediaStream
webkitMediaStreamTrackList
:
{ prototype: MediaStreamTrackList; new(): MediaStreamTrackList; }
constructor
(
)
:
MediaStreamTrackList
Returns
MediaStreamTrackList
public
webkitMediaStreamTrackList.prototype
:
MediaStreamTrackList
webkitRTCPeerConnection
:
webkitRTCPeerConnection
public
iceConnectionState
:
RTCIceConnectionState
public
iceGatheringState
:
RTCIceGatheringState
public
localDescription
:
RTCSessionDescription
public
onaddstream
:
(event: RTCMediaStreamEvent) => void
public
onconnecting
:
(event: Event) => void
public
ondatachannel
:
(event: Event) => void
public
onicecandidate
:
(event: RTCIceCandidateEvent) => void
public
onicechange
:
(event: Event) => void
public
onidentityresult
:
(event: Event) => void
public
onnegotiationneeded
:
(event: Event) => void
public
onopen
:
(event: Event) => void
public
onremovestream
:
(event: RTCMediaStreamEvent) => void
public
onstatechange
:
(event: Event) => void
public
remoteDescription
:
RTCSessionDescription
public
signalingState
:
RTCSignalingState
public
addIceCandidate
(
candidate
:
RTCIceCandidate
)
Parameters
candidate:
RTCIceCandidate
public
addStream
(
stream
:
MediaStream
, constraints
?:
MediaConstraints
)
Parameters
stream:
MediaStream
constraints?:
MediaConstraints
optional
public
close
(
)
public
createAnswer
(
successCallback
:
RTCSessionDescriptionCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
, constraints
?:
MediaConstraints
)
Parameters
successCallback:
RTCSessionDescriptionCallback
failureCallback?:
RTCPeerConnectionErrorCallback
optional
constraints?:
MediaConstraints
optional
public
createDataChannel
(
label
?:
string
, dataChannelDict
?:
RTCDataChannelInit
)
:
RTCDataChannel
Parameters
label?:
string
optional
dataChannelDict?:
RTCDataChannelInit
optional
Returns
RTCDataChannel
public
createOffer
(
successCallback
:
RTCSessionDescriptionCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
, constraints
?:
MediaConstraints
)
Parameters
successCallback:
RTCSessionDescriptionCallback
failureCallback?:
RTCPeerConnectionErrorCallback
optional
constraints?:
MediaConstraints
optional
public
getLocalStreams
(
)
:
MediaStream
[]
Returns
MediaStream
[]
public
getRemoteStreams
(
)
:
MediaStream
[]
Returns
MediaStream
[]
public
removeStream
(
stream
:
MediaStream
)
Parameters
stream:
MediaStream
public
setLocalDescription
(
description
:
RTCSessionDescription
, successCallback
?:
RTCVoidCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
)
Parameters
description:
RTCSessionDescription
successCallback?:
RTCVoidCallback
optional
failureCallback?:
RTCPeerConnectionErrorCallback
optional
public
setRemoteDescription
(
description
:
RTCSessionDescription
, successCallback
?:
RTCVoidCallback
, failureCallback
?:
RTCPeerConnectionErrorCallback
)
Parameters
description:
RTCSessionDescription
successCallback?:
RTCVoidCallback
optional
failureCallback?:
RTCPeerConnectionErrorCallback
optional
public
updateIce
(
configuration
?:
RTCConfiguration
, constraints
?:
MediaConstraints
)
Parameters
configuration?:
RTCConfiguration
optional
constraints?:
MediaConstraints
optional
webkitURL
:
{ prototype: WebkitURL; createObjectURL(stream: MediaStream): string; new(): streamURL; }
constructor
(
)
:
streamURL
Returns
streamURL
public
webkitURL.prototype
:
WebkitURL
public
createObjectURL
(
)
:
string
Returns
string
.stream.stream
:
MediaStream
Globals