@seamapi/http - v2.43.0
    Preparing search index...

    Class SeamHttpCamerasLiveViews

    Index
    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    • Creates a short-lived live view session for a single camera. Pass the returned session ID and token to /cameras/live_views/offer to start a WebRTC stream, and to /cameras/live_views/stop to end the session.

      Camera live view is in public beta and enabled by default in production and sandbox workspaces. Use your API key on your backend to create a client session with access to the camera's connected account, then authenticate live view requests with that client session's token. To check whether a camera supports live view, use device.can_stream_live_video.

      Returns CamerasLiveViewsCreateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>