getUserMedia

suspend fun getUserMedia(constraints: MediaStreamConstraints = definedExternally): MediaStream(source)

MDN Reference