VariableSpeedComponent: {
    commands: {
        fastForward: Command<TypeFromFields<{
            audioAdvanceUnmuted: OptionalFieldType<boolean>;
        }>, TypeFromFields<{
            data: OptionalFieldType<string>;
            status: FieldType<MediaPlayback.Status>;
        }>, any>;
        rewind: Command<TypeFromFields<{
            audioAdvanceUnmuted: OptionalFieldType<boolean>;
        }>, TypeFromFields<{
            data: OptionalFieldType<string>;
            status: FieldType<MediaPlayback.Status>;
        }>, any>;
    };
} = ...

A MediaPlaybackCluster supports these elements if it supports feature VariableSpeed.

Type declaration

  • Readonlycommands: {
        fastForward: Command<TypeFromFields<{
            audioAdvanceUnmuted: OptionalFieldType<boolean>;
        }>, TypeFromFields<{
            data: OptionalFieldType<string>;
            status: FieldType<MediaPlayback.Status>;
        }>, any>;
        rewind: Command<TypeFromFields<{
            audioAdvanceUnmuted: OptionalFieldType<boolean>;
        }>, TypeFromFields<{
            data: OptionalFieldType<string>;
            status: FieldType<MediaPlayback.Status>;
        }>, any>;
    }
    • ReadonlyfastForward: Command<TypeFromFields<{
          audioAdvanceUnmuted: OptionalFieldType<boolean>;
      }>, TypeFromFields<{
          data: OptionalFieldType<string>;
          status: FieldType<MediaPlayback.Status>;
      }>, any>

      Upon receipt, this shall start playback of the media in the forward direction in case the media is

      currently playing in the backward direction or is not playing. If the playback is already happening in the forward direction receipt of this command shall increase the speed of the media playback.

      Different "fast-forward" speeds may be reflected on the media playback device based upon the number of sequential calls to this function and the capability of the device. This is to avoid needing to define every speed (multiple fast, slow motion, etc). If the PlaybackSpeed attribute is supported it shall be updated to reflect the new speed of playback. If the playback speed cannot be changed for the media being played(for example, in live streaming content not supporting seek), the status of NOT_ALLOWED shall be returned. If the playback speed has reached the maximum supported speed for media playing forward, the status of SPEED_OUT_OF_RANGE shall be returned.

      MatterSpecification.v13.Cluster § 6.10.7.8

    • Readonlyrewind: Command<TypeFromFields<{
          audioAdvanceUnmuted: OptionalFieldType<boolean>;
      }>, TypeFromFields<{
          data: OptionalFieldType<string>;
          status: FieldType<MediaPlayback.Status>;
      }>, any>

      Upon receipt, this shall start playback of the media backward in case the media is currently playing in the forward direction or is not playing. If the playback is already happening in the backwards direction receipt of this command shall increase the speed of the media playback backwards.

      Different "rewind" speeds may be reflected on the media playback device based upon the number of sequential calls to this function and the capability of the device. This is to avoid needing to define every speed (multiple fast, slow motion, etc). If the PlaybackSpeed attribute is supported it shall be updated to reflect the new speed of playback. If the playback speed cannot be changed for the media being played(for example, in live streaming content not supporting seek), the status of NOT_ALLOWED shall be returned. If the playback speed has reached the maximum supported speed for media playing backwards, the status of SPEED_OUT_OF_RANGE shall be returned.

      MatterSpecification.v13.Cluster § 6.10.7.7