NAME
screen.h - Bark screen-sharing session management and capture source listing.
SYNOPSIS
Classes
Screen-share capture and encoding parameters.
Typedefs
Opaque screen-share controller handle.
Screen-share capture and encoding parameters.
Main-thread lifecycle callback invoked when local screen sharing starts, resizes, stops, or fails to start (rc != BARK_OK).
Functions
Create a screen-share controller wired to rtc and view.
Stop sharing and destroy the controller.
Query capture provider capability flags (BARK_CAPTURE_FLAG_OS_PICKER, BARK_CAPTURE_FLAG_ENUM_SOURCES).
Enumerate selectable monitors and windows into out. Returns count or negative bark_err_t.
Start local screen sharing with cfg. Returns BARK_OK or BARK_ERR_UNAVAILABLE if denied.
Update live resolution, FPS, or bitrate of an active screen share.
Stop local screen sharing and clear the local preview source.
Pump pending local capture state transitions and frame uploads on the main thread.
Return non-zero if local screen sharing is currently active.
Submit a decoded remote RGBA8 video frame for peer_id.
Clear the remote video source associated with peer_id.
Bind a DOM <video id=...">elementtoanamedsourcekey(e.g."local"orpeer_id).
Detailed Description
Bark screen-sharing session management and capture source listing.
High-level screen-sharing controller bridging capture, WebRTC, and view video slots.
Orchestrates local screen capture -> VP8 WebRTC publishing -> local preview, remote video frame intake, and declarative <video id="..."> slot bindings.
Author
Generated automatically by Doxygen for Bark from the source code.