MediaSFU Shared
    Preparing search index...

    Interface ViewerSessionHandle

    interface ViewerSessionHandle {
        getSnapshot: () => ViewerSessionSnapshot;
        start: () => Promise<ViewerSessionSnapshot>;
        requestPromotion: () => Promise<ViewerSessionSnapshot>;
        stop: () => Promise<void>;
    }
    Index

    Properties

    getSnapshot: () => ViewerSessionSnapshot

    Current state, readable at any time.

    start: () => Promise<ViewerSessionSnapshot>

    Register with the provider and begin watching.

    requestPromotion: () => Promise<ViewerSessionSnapshot>

    Raise a hand for the floor.

    stop: () => Promise<void>

    Stop everything and release the session.