Member Junction
    Preparing search index...

    mj-media-tile: one participant. Their video (the preferred one, else a shared screen, the camera, the avatar), or their picture or initials when there is none; name, role badge, mute and screen-sharing indicators, an "AI-generated video" label while it shows an avatar, connection quality, an active-speaker ring, an optional audio meter and a pin button. Video fills the tile, except an avatar, which shows whole (AvatarVideoFit). With StallAfterMs set, a video that stops sending frames cross-fades to the picture or initials until its frames come back, unless HoldLastFrame keeps its last frame on show. Content marked MediaTilePlaceholderDirective takes the picture's place, and content marked mjMediaTileActions (such as a "Move to…" menu) sits in the top corner beside the pin, shown on hover or focus: <mj-media-tile><mj-media-move-menu mjMediaTileActions …></mj-media-move-menu></mj-media-tile>.

    The tile never plays audio: a voice must not stop because its tile left the screen, so the host plays each voice once, outside the layout.

    Implements

    • AfterViewInit
    • OnDestroy
    Index

    Constructors

    Properties

    AgentCount: number = 1

    The number of agents in the room: the chip says "Agents can see" when there is more than one, "Agent can see" otherwise.

    AvatarUrl: string | null = null

    A picture shown when there is no video.

    AvatarVideoFit: MediaTileVideoFit = 'contain'

    How an avatar fits the tile. 'contain' (the default) shows the whole avatar, with bars where its shape differs from the tile's, so a portrait avatar keeps its face in any box. 'cover' fills the tile, as every other video does.

    FramesFlowingChange: EventEmitter<boolean> = ...

    Emits whether the watched video's frames are coming, each time that changes while StallAfterMs is set: true at its first frame and when frames come back, false after StallAfterMs without one, held or not.

    IsPinned: boolean = false

    Whether this tile is pinned.

    MeterSettings: MediaAudioMeterSettings = {}

    The meter's smoothing settings.

    Mirror: boolean = false

    Mirror the camera, as a self-view does. A shared screen or an avatar is never mirrored.

    Pinnable: boolean = false

    Show the pin button.

    The host's own placeholder, shown instead of the picture or initials.

    ShowActiveSpeakerRing: boolean = true

    Show the active-speaker ring.

    ShowConnectionQuality: boolean = true

    Show the connection-quality indicator (when the participant reports one).

    ShowMeter: boolean = true

    Show the audio meter (when the participant offers a level and isn't muted).

    ShowName: boolean = true

    Show the name and role badge.

    StallAfterMs: number | null = null

    After this many milliseconds without a new frame, the video cross-fades to the picture or initials until its frames come back; until its first frame, too. null (the default): the video always shows. Read when a video is attached.

    Status: string | null = null

    A short status the tile shows as a chip after its own labels, such as what an agent is doing; null for none.

    TogglePin: EventEmitter<void> = ...

    Emits when the user clicks the pin button.

    Accessors

    • get HoldLastFrame(): boolean

      Returns boolean

    • set HoldLastFrame(value: boolean): void

      Keeps the frame on show while the video is out of frames (StallAfterMs), instead of cross-fading to the placeholder: for a gap the host expects, such as the call moving to a new connection. Only a frame on show is held, so the placeholder before the first frame, or one already showing when the hold starts, stays. Turned off while the video is still out of frames, the placeholder shows; frames that come back end the hold for that stall.

      Parameters

      • value: boolean

      Returns void

    • get IsAvatarVideo(): boolean

      Whether the video shown is the participant's avatar. An avatar is generated, and its watermark (where the model adds one) cannot be seen, so the tile says so for as long as it shows one.

      Returns boolean

    Methods

    • A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.

      Returns void

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void