captureStream

fun captureStream(frameRequestRate: Double = definedExternally): MediaStream(source)

MDN Reference