MediaSFU React Native
    Preparing search index...

    Variable getOverlayPositionConst

    getOverlayPosition: (
        { position }: GetOverlayPositionOptions,
    ) => OverlayPositionStyle

    Maps a symbolic overlay position to CSS-style edge coordinates.

    This is used by display card components to anchor badges, audio indicators, or auxiliary overlays to a participant tile corner.

    Type Declaration

    const style = getOverlayPosition({ position: 'bottomRight' });
    // style === { bottom: 0, right: 0 }