Subset of the MediaDevices interface actually used by the SDK.
Implementations only need to provide these methods — the full browser
MediaDevices type is intentionally not required so that React Native
and other non-browser environments can conform without polyfilling
unused APIs.
Event type to listen for.
Listener invoked when the event fires.
void
Promise<MediaDeviceInfo[]>
Options to pass to getDisplayMedia.
Promise<MediaStream>
Media-track constraints to pass to getUserMedia.
Promise<MediaStream>
Event type to listen for.
Listener invoked when the event fires.
void