6.1.3 • Published 8 years ago
otalk-media-controller v6.1.3
otalk-media-controller
A module for tracking all media streams in an app, both local and remote.
Properties
useAudioWhenAvailable
-{Boolean}
useVideoWhenAvailable
-{Boolean}
detectSpeaking
-{Boolean}
capturingAudio
-{Boolean}
capturingVideo
-{Boolean}
capturingScreen
-{Boolean}
localStreams
-{Collection}
localScreens
-{Collection}
localVideoStreams
-{Collection}
localAudioOnlyStreams
-{Collection}
remoteStreams
-{Collection}
remoteVideoStreams
-{Collection}
remoteAudioOnlyStreams
-{Collection}
claimedRemoteStreams
-{Collection}
claimedRemoteVideoStreams
-{Collection}
claimedRemoteAudioOnlyStreams
-{Collection}
streams
-{Collection}
preview
-{Stream}
defaultOptionalAudioConstraints
-{Array}
defaultOptionalVideoConstraints
-{Array}
Methods
addLocalStream(stream, isScreen, opts)
addRemoteStream(stream, opts)
start(constraints, cb)
startScreenShare([constraints,] cb)
startPreview(constraints, cb)
stop(stream)
stopScreenShare(stream)
stopPreview()
acceptPreview()
muteAudio()
muteVideo()
playAudio()
playVideo()
ensureLocalStreams(constraints, cb)
6.1.3
8 years ago
6.1.2
8 years ago
6.1.1
8 years ago
6.1.0
8 years ago
6.0.5
9 years ago
6.0.4
9 years ago
6.0.3
9 years ago
6.0.2
9 years ago
6.0.1
9 years ago
6.0.0
9 years ago
5.1.4
9 years ago
5.1.3
9 years ago
5.1.2
9 years ago
5.1.1
9 years ago
5.1.0
9 years ago
5.0.2
9 years ago
5.0.1
9 years ago
4.1.2
9 years ago
5.0.0
9 years ago
4.0.0
9 years ago
3.0.5
9 years ago
3.0.4
9 years ago
3.0.3
9 years ago
3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
2.0.0
9 years ago
1.10.0
10 years ago
1.9.0
10 years ago
1.8.0
10 years ago
1.7.1
10 years ago
1.7.0
10 years ago
1.6.0
10 years ago
1.5.2
10 years ago
1.5.1
10 years ago
1.5.0
10 years ago
1.4.0
10 years ago
1.3.0
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago