brows3r — TypeScript API
    Preparing search index...

    Interface MediaRegisterResponse

    Response returned by mediaRegister.

    Mirrors src-tauri/src/commands/media_cmd.rs MediaRegisterResponse.

    interface MediaRegisterResponse {
        expiresAt: number;
        url: string;
    }
    Index

    Properties

    Properties

    expiresAt: number

    Unix epoch seconds at which the token expires.

    Use this to schedule a token refresh before playback stalls.

    url: string

    Loopback URL ready to use as a <video> or <audio> src.

    Format: http://127.0.0.1:<port>/m/<token>