This defines conformance to the Casting Video Player device type.

A Video Player (either Basic or Casting) represents a device that is able to play media to a physical output or to a display screen which is part of the device.

A Casting Video Player has basic controls for playback (play, pause, etc.) and keypad input (up, down, number input), and is able to launch content.

For example, a Casting Video Player can be a smart TV device, a TV Set Top Box, or a content streaming device that provides input to another device like a TV or computer monitor.

Please see Video Player Architecture for additional Casting Video Player requirements relating to Video Player device endpoint composition, commissioning, feature representation in clusters, and UI context.

MatterSpecification.v13.Device § 10.3

interface CastingVideoPlayerDevice {
    behaviors: {
        onOff: typeof OnOffServer;
    } & {
        mediaPlayback: typeof MediaPlaybackServer;
    } & {
        keypadInput: typeof KeypadInputServer;
    } & {
        contentLauncher: typeof ContentLauncherServer;
    };
    defaults: StateOf<{
        onOff: typeof OnOffServer;
    } & {
        mediaPlayback: typeof MediaPlaybackServer;
    } & {
        keypadInput: typeof KeypadInputServer;
    } & {
        contentLauncher: typeof ContentLauncherServer;
    }>;
    deviceClass: DeviceClassification;
    deviceRevision: number;
    deviceType: DeviceTypeId;
    name: "CastingVideoPlayer";
    requirements: typeof CastingVideoPlayerRequirements;
    set(defaults: InputStateOf<{
        onOff: typeof OnOffServer;
    } & {
        mediaPlayback: typeof MediaPlaybackServer;
    } & {
        keypadInput: typeof KeypadInputServer;
    } & {
        contentLauncher: typeof ContentLauncherServer;
    }>): With<For<{
        behaviors: {
            onOff: typeof OnOffServer;
        } & {
            mediaPlayback: typeof MediaPlaybackServer;
        } & {
            keypadInput: typeof KeypadInputServer;
        } & {
            contentLauncher: typeof ContentLauncherServer;
        };
        deviceRevision: 2;
        deviceType: 35;
        name: "CastingVideoPlayer";
        requirements: typeof CastingVideoPlayerRequirements;
    }>, {
        onOff: typeof OnOffServer;
    } & {
        mediaPlayback: typeof MediaPlaybackServer;
    } & {
        keypadInput: typeof KeypadInputServer;
    } & {
        contentLauncher: typeof ContentLauncherServer;
    }>;
    with<const BL>(...behaviors: BL): With<For<{
        behaviors: {
            onOff: typeof OnOffServer;
        } & {
            mediaPlayback: typeof MediaPlaybackServer;
        } & {
            keypadInput: typeof KeypadInputServer;
        } & {
            contentLauncher: typeof ContentLauncherServer;
        };
        deviceRevision: 2;
        deviceType: 35;
        name: "CastingVideoPlayer";
        requirements: typeof CastingVideoPlayerRequirements;
    }>, With<{
        onOff: typeof OnOffServer;
    } & {
        mediaPlayback: typeof MediaPlaybackServer;
    } & {
        keypadInput: typeof KeypadInputServer;
    } & {
        contentLauncher: typeof ContentLauncherServer;
    }, BL>>;
}

Hierarchy (view full)

Properties

behaviors: {
    onOff: typeof OnOffServer;
} & {
    mediaPlayback: typeof MediaPlaybackServer;
} & {
    keypadInput: typeof KeypadInputServer;
} & {
    contentLauncher: typeof ContentLauncherServer;
}
defaults: StateOf<{
    onOff: typeof OnOffServer;
} & {
    mediaPlayback: typeof MediaPlaybackServer;
} & {
    keypadInput: typeof KeypadInputServer;
} & {
    contentLauncher: typeof ContentLauncherServer;
}>

Access default state values.

deviceRevision: number
deviceType: DeviceTypeId
name
requirements: typeof CastingVideoPlayerRequirements

Methods