Member Junction
    Preparing search index...

    mj-livekit-prejoin — a device-preview lobby shown before joining a room. Previews the camera, meters the microphone, lets the user pick devices + a name, and toggle mic/cam, then emits Join with the chosen LiveKitPreJoinChoices. Uses the room-free LiveKitMediaPreview from the core.

    Implements

    • AfterViewInit
    • OnDestroy
    Index

    Constructors

    Properties

    cameraEnabled: boolean = false

    Whether the camera will be enabled on join (also drives the preview).

    cameras: LiveKitDevice[] = []

    Available cameras.

    displayName: string = ''

    Current display-name draft.

    Heading: string = 'Ready to join?'

    Heading shown above the controls.

    InitialDisplayName: string | null = null

    Pre-fill the display name.

    Join: EventEmitter<LiveKitPreJoinChoices> = ...

    Emits the user's confirmed choices when they join.

    JoinLabel: string = 'Join now'

    The join button label.

    micEnabled: boolean = true

    Whether the mic will be enabled on join.

    micLevelPct: number = 0

    Live mic level percentage for the preview meter.

    microphones: LiveKitDevice[] = []

    Available microphones.

    RequireDisplayName: boolean = true

    Require a non-empty display name before join is allowed.

    selectedCam: string | null = null

    Selected camera device id.

    selectedMic: string | null = null

    Selected microphone device id.

    ShowDeviceSelection: boolean = true

    Show the microphone/camera device dropdowns.

    ShowDisplayName: boolean = true

    Show the display-name field even when not required.

    StartWithCamera: boolean = false

    Start with the camera previewing/enabled.

    Accessors

    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 Promise<void>

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

      Returns Promise<void>