updateMicrophone
updateMicrophone
- updateMicrophone(
constraints):Promise<void>
Replaces the current microphone stream with the one coming from a different device.
Parameters
constraints
Specify the constraints that the device should satisfy. See MediaTrackConstraints.
Returns
Promise<void>
Example
Replaces the current microphone stream with the one coming from the specified deviceId: