Web Rtc Device
Functions
Captures the whiteboard canvas as a video stream for recording. Similar to HTML Canvas's captureStream(30) API in web browsers.
Creates a receive transport from parameters.
Creates a send transport from parameters.
Creates a virtual video stream that can receive processed frames. Used for virtual backgrounds where frames are processed by ML Kit and need to be fed back into a WebRTC stream for sending to remote participants.
Returns the device's currently loaded RTP capabilities, if available. Implementations can override to provide the platform-specific snapshot; the default returns {@code null} for platforms that do not expose it yet.
Enumerates the available media devices.
Captures the screen for sharing.
Retrieves a media stream for the given constraints (camera/microphone).
Loads RTP capabilities for the device.
Sets the audio output device for playback (speaker, Bluetooth, headphones).