Android Web Rtc Device
Android implementation of the WebRTC device backed by mediasoup-client.
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 source for feeding processed frames (e.g., from ML Kit virtual backgrounds).
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 using MediaProjection API.
Retrieves a media stream for the given constraints (camera/microphone).
Loads RTP capabilities for the device.
Sets the audio output device for playback.