Expand description
Host-side media capture: camera, microphone, and screen (with permission prompts).
Guests call register_media_capture_functions imports from the oxide module. Access is
gated per origin through crate::permissions: the first call returns
PERMISSION_PENDING while the in-browser prompt is showing, and the guest retries on a
later frame. Native OS prompts (camera / microphone / screen recording) may appear in
addition once the in-browser grant is given.
Structs§
- Media
Capture State - Shared capture state for a tab (camera stream, mic ring buffer, counters for pipeline stats).
Functions§
- register_
media_ capture_ functions - Register
api_camera_*,api_microphone_*,api_screen_capture, andapi_media_pipeline_stats.