The audio level. The value range is [0,1].
Returns the current position of the audio mixing if successful.
Returns the audio mixing duration (ms) if successful.
If the stream contains an audio track, it will be returned in a MediaStreamTrack
object.
Returns an array that contains soundId
and volume
. Each soundId
has a correspondingvolume
.
soundId
: The ID of the audio effect. Each audio effect has a unique ID. The value range is [1,10000].volume
: Volume of the audio effect. The value range is [0,100].If the stream contains a video track, it will be returned in a MediaStreamTrack
object.
true
: The stream is being rendered or playing on the page.false
: The stream is neither being rendered nor playing on the page.true
: Success.false
: Failure. Possible reasons include no audio, stream not initialized, and audio track already disabled.true
: Success.false
: Failure. Possible reasons include no video, stream not initialized, and video track already disabled.A promise object, which is resolved after the method call succeeds.
true
: Success.false
: Failure. Possible reasons include no audio, stream not initialized, and audio track already enabled.true
: Success.false
: Failure. Possible reasons include no video, stream not initialized, and video track already enabled.