createMediaTrackConstraints

actual fun createMediaTrackConstraints(deviceId: String?, sampleRate: Int?, channelCount: Int?, raw: Boolean): MediaTrackConstraints

Audio track constraints. raw turns off the browser's voice processing (echo cancellation, noise suppression, auto gain); otherwise the browser defaults apply.

actual fun createMediaTrackConstraints(deviceId: String?, sampleRate: Int?, channelCount: Int?, raw: Boolean): MediaTrackConstraints

Audio track constraints. raw turns off the browser's voice processing (echo cancellation, noise suppression, auto gain); otherwise the browser defaults apply.

expect fun createMediaTrackConstraints(deviceId: String?, sampleRate: Int?, channelCount: Int?, raw: Boolean = false): MediaTrackConstraints

Audio track constraints. raw turns off the browser's voice processing (echo cancellation, noise suppression, auto gain); otherwise the browser defaults apply.