MediaSFU Shared
    Preparing search index...

    Function getOverlayPosition

    • 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.

      Parameters

      Returns OverlayPositionStyle

      A partial coordinate object suitable for inline style application.

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