Package-level declarations
Types
Apple only: another process, such as an app extension, kept the account past the app's wait for it. Nothing changed, and opening can be retried. holder is what that process recorded when it took the account, for logs.
A local preview stays attached until detach. Capture starts only after startCapture. Capture and call video-send state are separate; detach stops capture before removing the view.
A local preview stays attached until detach. Capture starts only after startCapture. Capture and call video-send state are separate; detach stops capture before removing the view.
Owns one native remote view attachment. detach releases only this attachment and runs on the main dispatcher. Repeated detach, or detach after the same view has been rebound, does nothing. A failed native detach throws and leaves the attachment owned so the caller can retry.
Owns one native remote view attachment. detach releases only this attachment and runs on the main dispatcher. Repeated detach, or detach after the same view has been rebound, does nothing. A failed native detach throws and leaves the attachment owned so the caller can retry.
Functions
Attach one plain native view as the local camera preview. The caller owns its lifetime. Do not pass AVSVideoPreview, which attaches itself when added to a window.
Attach one plain native view as the local camera preview. The caller owns its lifetime. Do not pass AVSVideoPreview, which attaches itself when added to a window.
Attach an iOS AVSVideoView to one remote client's stream. The caller owns the view lifetime. Different native views remain attached independently, including views of the same stream. Reattaching the same native view and stream returns its existing lease, even through another PlatformView wrapper. Rebinding that view to another stream detaches its previous attachment and invalidates the old lease. If that detach fails, the previous attachment remains owned and the new stream is not attached. If the new attach fails after detach succeeds, that view remains detached. Other views are unaffected. Operations run on the main dispatcher. The caller must detach each returned lease when its view disappears.
Attach an iOS AVSVideoView to one remote client's stream. The caller owns the view lifetime. Different native views remain attached independently, including views of the same stream. Reattaching the same native view and stream returns its existing lease, even through another PlatformView wrapper. Rebinding that view to another stream detaches its previous attachment and invalidates the old lease. If that detach fails, the previous attachment remains owned and the new stream is not attached. If the new attach fails after detach succeeds, that view remains detached. Other views are unaffected. Operations run on the main dispatcher. The caller must detach each returned lease when its view disappears.
Observations that open every account keep going, with their last values, until another process lets go.