Member Junction
    Preparing search index...

    mj-livekit-prejoin: a device-preview lobby shown before joining a room. It runs the room-free LiveKitMediaPreview (camera, microphone level, devices) and renders mj-camera-check, then emits Join with the chosen LiveKitPreJoinChoices.

    Render mj-camera-check (CameraCheckComponent) from @memberjunction/ng-realtime-media on a MediaPreview from @memberjunction/ai-realtime-client/media, as the room's lobby does: give it the preview's camera source, its microphone level reader, its devices and choices. This wrapper still runs the deprecated LiveKitMediaPreview; the room no longer renders it.

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    CameraEnabled: boolean = false

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

    Cameras: LiveKitDevice[] = []

    Available cameras.

    CameraSource: MediaVideoSource | null = null

    The camera preview as a /media source, while the camera previews.

    displayName: string = ''

    The display name joined with: the initial name, then the one confirmed.

    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.

    MediaDevices: MediaDevice[] = []

    The microphones and cameras as /media devices, for the camera check.

    MicEnabled: boolean = true

    Whether the mic will be enabled on join.

    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 performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns Promise<void>

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns Promise<void>