Cameras1361 — Camera AV Stream Management

Matter Cluster 1361 — Camera AV Stream Management

Matter Cluster 1361 (0x0551) Camera AV Stream Management: attributes, commands, events, data types, shadow paths and bridge payload examples.

Matter Cluster 1361 — Camera AV Stream Management Cluster

Matter Cluster 1361, also written as 0x0551, is the Camera AV Stream Management Cluster. This cluster is used to allow clients to manage, control, and configure various audio, video, and snapshot streams on a camera. Broadly, this cluster would be used to: 1. Create and manage all streams on the camera. 2.

Cluster Identity

FieldValue
Cluster ID decimal1361
Cluster ID hex0x0551
Cluster nameCamera AV Stream Management
Cluster revision (Matter 1.6.1)2
Roleapplication
ScopeEndpoint
PICS codeAVSM
Typical endpoint1

Revision history

RevisionChange
1Initial release
2Add attribute ImageRotationDiscreteAngles

Shadow Path Format

Cluster 1361 values in the device shadow use this format:

endpoint_id / 1361 / attribute_id

Example:

{
  "1/1361/6": 1
}
PartMeaning
1Endpoint ID
1361Camera AV Stream Management cluster
6MaxContentBufferSize attribute

Cluster 1361 Features

The FeatureMap attribute (1/1361/65532) is a bitmap. Each bit set means the device implements that feature and the attributes and commands that depend on it.

BitCodeFeatureConformanceMeaning
0ADOAudioOAudio Streams supported
1VDOVideoOVideo Streams supported
2SNPSnapshotOSnapshot Streams supported
3PRIVPrivacyOPrivacy supported
4SPKRSpeaker[ADO]Speaker supported
5ICTLImageControl[VDO | SNP]Image control supported
6WMARKWatermark[VDO | SNP]Watermark supported
7OSDOnScreenDisplay[VDO | SNP]OSD supported
8STORLocalStorageOLocal Storage available
9HDRHighDynamicRange[VDO | SNP]High Dynamic Range supported
10NVNightVision[VDO | SNP]Night Vision mode supported

Example: FeatureMap = 0 means no optional feature is enabled; 2047 means every feature listed above is enabled.


Data Types

AudioCodecEnum

This data type provides an enumeration of the audio codecs supported by the camera.

ValueNameConformanceMeaning
0OPUSMOpen source IETF standard codec.
1AAC-LCOAdvanced Audio Coding codec-Low Complexity

ImageCodecEnum

This data type provides an enumeration of the image codecs supported by the camera.

ValueNameConformanceMeaning
0JPEGMJPEG image codec.
1HEICOHEIC image codec.

TriStateAutoEnum

This data type is derived from enum8 and is used for tri-state settings on a device, where a setting can be in one of three states, i.e., On, Off, or Automatic.

ValueNameConformanceMeaning
0OffMOff
1OnMOn
2AutoMAutomatic Operation

TwoWayTalkSupportTypeEnum

This data type provides an enumeration of the different modes of bi-directional audio communication that are supported by the camera.

ValueNameConformanceMeaning
0NotSupportedMTwo-way Talk support is absent.
1HalfDuplexMAudio in one direction at a time.
2FullDuplexMAudio in both directions simultaneously.

VideoCodecEnum

This data type provides an enumeration of the video codecs supported by the camera.

ValueNameConformanceMeaning
0H264MAdvanced Video Coding (H.264) codec.
1HEVCOHigh efficiency Video Coding (H.265) codec.
2VVCOVersatile Video Coding (H.266) codec.
3AV1OAOMedia Video 1 codec.

AVMetadataStruct (struct)

This struct is used to encode the metadata generated by the device and is included by the various transports that handle audio and video streams. When encoded in TLV binary format and placed inside other standards, this is represented using the RFC8141 compliant string urn:csa:matter:av-metadata.

FieldNameTypeConformanceConstraintMeaning
1UTCTimeepoch-us (nullable)M——
2MotionZonesActivelist of ZoneIDOmin 1 entriesThis field represents the list of Motion Zones that are currently triggered.
3BlackAndWhiteActiveboolO—Indicates if the sensor is currently active in black and white only mode.
4UserDefinedoctstrOmax length 256This field is an octet string representing arbitrary format user defined metadata attached.

AudioCapabilitiesStruct (struct)

This struct is used to express the audio capabilities of the camera.

FieldNameTypeConformanceConstraintMeaning
0MaxNumberOfChannelsuint8Mmin 1Indicates the maximum number of channels supported by an audio stream from the camera.
1SupportedCodecslist of AudioCodecEnumMmin 1 entriesIndicates the list of audio codecs from AudioCodecEnum that are supported by the camera.
2SupportedSampleRateslist of uint32Mmin 1 entriesIndicates the list of sample rates that are supported by the audio stream from the camera expressed in Hz, e.g., (48000, 32000, 16000).
3SupportedBitDepthslist of uint8Mmin 1 entriesIndicates the list of bit depths that are supported by the audio stream, e.g., (16-bit, 24-bit).

AudioStreamStruct (struct)

This struct is used to capture all constituent parameters of an audio stream in order to fully characterize it.

FieldNameTypeConformanceConstraintMeaning
0AudioStreamIDAudioStreamIDM——
1StreamUsageStreamUsageEnumM—Indicates the usage of stream as described in StreamUsageEnum.
2AudioCodecAudioCodecEnumM—Indicates the type of audio codec being used by the corresponding audio stream as described in AudioCodecEnum.
3ChannelCountuint8M1 to 8Indicates the number of independent channels or tracks being used by the corresponding audio stream. e.g., 1 for mono, 2 for stereo
4SampleRateuint32Mmin 1Indicates the audio sample rate, in hertz (Hz).
5BitRateuint32Mmin 1Indicates the target bit rate in bits per second of the audio stream.
6BitDepthuint8Mallowed: 8, 16, 24, 32Indicates the bit depth (8, 16, 24 or 32 bits) of the audio stream.
7ReferenceCountuint8M—Indicates the number of entities currently using this audio stream.

RateDistortionTradeOffPointsStruct (struct)

This struct is used to define a set of parameters of the hardware video encoder that alter the rate distortion trade-off points. The points are expressed as the minimum bitrate and resolution for each supported codec type.

FieldNameTypeConformanceConstraintMeaning
0CodecVideoCodecEnumM—Indicates the type of video codec based on the supported VideoCodecEnum types.
1ResolutionVideoResolutionStructM—Indicates the resolution in pixels for a specific rate distortion trade-off point.
2MinBitRateuint32Mmin 1Indicates the minimum bitrate for a specific rate distortion trade-off point expressed as bits per second.

SnapshotCapabilitiesStruct (struct)

This struct is used to define the set of parameters that characterize a snapshot image that is used to build a snapshot stream.

FieldNameTypeConformanceConstraintMeaning
0ResolutionVideoResolutionStructM—Indicates the resolution in pixels of the snapshot image.
1MaxFrameRateuint16Mmin 1Indicates the maximum frame rate in frames per second of the snapshot stream.
2ImageCodecImageCodecEnumM—Indicates the format of the snapshot image, e.g., JPEG, as specified in ImageCodecEnum.
3RequiresEncodedPixelsboolM—Indicates if this entry requires using any resources from the available MaxEncodedPixelRate.
4RequiresHardwareEncoderboolRequiresEncodedPixels = true—Indicates if this entry requires using a hardware encoder and thus needs to be considered when determining overall stream allocation resources.

SnapshotStreamStruct (struct)

This struct is used to capture all constituent parameters of a snapshot stream in order to fully characterize it.

FieldNameTypeConformanceConstraintMeaning
0SnapshotStreamIDSnapshotStreamIDM——
1ImageCodecImageCodecEnumM—Indicates the type of image codec being used by the corresponding snapshot stream as described in ImageCodecEnum.
2FrameRateuint16Mmin 1Indicates the frame rate as frames per second of the snapshot stream.
3MinResolutionVideoResolutionStructM—Indicates the minimum resolution for the corresponding snapshot stream.
4MaxResolutionVideoResolutionStructM—Indicates the maximum resolution for the corresponding snapshot stream.
5Qualityuint8M1 to 100Indicates a generic quality metric (integer between 1 and 100) as an input parameter to the image codec.
6ReferenceCountuint8M—Indicates the number of entities currently using this snapshot stream.
7EncodedPixelsboolM—Indicates if this entry counts in the system encoded pixel rate calculation.
8HardwareEncoderboolM—Indicates if one of the system hardware encoders is used by this snapshot stream.
9WatermarkEnabledboolWMARK—This field indicates the status of an applied watermark for the specific snapshot stream.
10OSDEnabledboolOSD——

VideoResolutionStruct (struct)

This object defines the resolution parameters in pixels which can be used for defining the resolutions of different video streams.

FieldNameTypeConformanceConstraintMeaning
0Widthuint16Mmin 1Indicates the width, in number of pixels, for a frame.
1Heightuint16Mmin 1Indicates the height, in number of pixels, for a frame.

VideoSensorParamsStruct (struct)

This struct is used to define a video sensor and its characteristics.

FieldNameTypeConformanceConstraintMeaning
0SensorWidthuint16Mmin 64Indicates the practical width of the video sensor in pixels.
1SensorHeightuint16Mmin 64Indicates the practical height of the video sensor in pixels.
2MaxFPSuint16Mmin 1—
3MaxHDRFPSuint16HDR1 to MaxFPS—

VideoStreamStruct (struct)

This struct is used to capture all constituent parameters of a video stream in order to fully characterize it.

FieldNameTypeConformanceConstraintMeaning
0VideoStreamIDVideoStreamIDM——
1StreamUsageStreamUsageEnumM—Indicates the usage of the stream as described in StreamUsageEnum.
2VideoCodecVideoCodecEnumM—Indicates the type of video codec being used by the corresponding video stream as described in VideoCodecEnum.
3MinFrameRateuint16M1 to MaxFrameRateIndicates the minimum frame rate in frames per second for the corresponding video stream.
4MaxFrameRateuint16Mmin 1Indicates the maximum frame rate in frames per second for the corresponding video stream.
5MinResolutionVideoResolutionStructM—Indicates the minimum resolution for the corresponding video stream.
6MaxResolutionVideoResolutionStructM—Indicates the maximum resolution for the corresponding video stream.
7MinBitRateuint32M1 to MaxBitRateIndicates the minimum bitrate for the corresponding video stream in bits per second.
8MaxBitRateuint32Mmin 1Indicates the maximum bitrate for the corresponding video stream in bits per second.
9KeyFrameIntervaluint16M0 to 65500Indicates the duration in milliseconds before a regular key-frame is generated.
10WatermarkEnabledboolWMARK—This field indicates the status of an applied watermark for the specific video stream.
11OSDEnabledboolOSD——
12ReferenceCountuint8M—Indicates the number of entities currently using this video stream.

Cluster 1361 Attributes

Cluster 1361 defines 42 attributes plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".

IDHexAttributeTypeConformanceAccessQualitiesDefault
00x0000MaxConcurrentEncodersuint8VDO | SNPR (read: view)——
10x0001MaxEncodedPixelRateuint32VDO | SNPR (read: view)——
20x0002VideoSensorParamsVideoSensorParamsStructVDOR (read: view)——
30x0003NightVisionUsesInfraredboolNVR (read: view)——
40x0004MinViewportResolutionVideoResolutionStructVDOR (read: view)——
50x0005RateDistortionTradeOffPointslist of RateDistortionTradeOffPointsStructVDOR (read: view)——
60x0006MaxContentBufferSizeuint32MR (read: view)——
70x0007MicrophoneCapabilitiesAudioCapabilitiesStructADOR (read: view)——
80x0008SpeakerCapabilitiesAudioCapabilitiesStructSPKRR (read: view)——
90x0009TwoWayTalkSupportTwoWayTalkSupportTypeEnumSPKRR (read: view)——
100x000ASnapshotCapabilitieslist of SnapshotCapabilitiesStructSNPR (read: view)——
110x000BMaxNetworkBandwidthuint32MR (read: view)——
120x000CCurrentFrameRateuint16VDOR (read: view)——
130x000DHDRModeEnabledboolHDRR/W (read: manage, write: manage)persisted—
140x000ESupportedStreamUsageslist of StreamUsageEnumMR (read: view)——
150x000FAllocatedVideoStreamslist of VideoStreamStructVDOR (read: view)persisted—
160x0010AllocatedAudioStreamslist of AudioStreamStructADOR (read: view)persisted—
170x0011AllocatedSnapshotStreamslist of SnapshotStreamStructSNPR (read: view)persisted—
180x0012StreamUsagePrioritieslist of StreamUsageEnumMR (read: view)persisted—
190x0013SoftRecordingPrivacyModeEnabledboolPRIVR/W (read: view, write: operate)persisted—
200x0014SoftLivestreamPrivacyModeEnabledboolPRIVR/W (read: view, write: operate)persisted—
210x0015HardPrivacyModeOnboolOR (read: view)—false
220x0016NightVisionTriStateAutoEnumNVR/W (read: manage, write: manage)persisted—
230x0017NightVisionIllumTriStateAutoEnum[NV]R/W (read: manage, write: manage)persisted—
240x0018ViewportViewportStructVDOR/W (read: manage, write: manage)persisted—
250x0019SpeakerMutedboolSPKRR/W (read: manage, write: manage)persisted—
260x001ASpeakerVolumeLeveluint8SPKRR/W (read: manage, write: manage)persisted—
270x001BSpeakerMaxLeveluint8SPKRR (read: manage)——
280x001CSpeakerMinLeveluint8SPKRR (read: manage)——
290x001DMicrophoneMutedboolADOR/W (read: manage, write: manage)persisted—
300x001EMicrophoneVolumeLeveluint8ADOR/W (read: manage, write: manage)persisted—
310x001FMicrophoneMaxLeveluint8ADOR (read: manage)——
320x0020MicrophoneMinLeveluint8ADOR (read: manage)——
330x0021MicrophoneAGCEnabledbool[ADO]R/W (read: manage, write: manage)persistedtrue
340x0022ImageRotationuint16[ICTL]R/W (read: manage, write: manage)persisted—
350x0023ImageFlipHorizontalbool[ICTL]R/W (read: manage, write: manage)persistedfalse
360x0024ImageFlipVerticalbool[ICTL]R/W (read: manage, write: manage)persistedfalse
370x0025LocalVideoRecordingEnabledboolVDO & STORR/W (read: manage, write: manage)persisted—
380x0026LocalSnapshotRecordingEnabledboolSNP & STORR/W (read: manage, write: manage)persisted—
390x0027StatusLightEnabledboolOR/W (read: manage, write: manage)persistedtrue
400x0028StatusLightBrightnessThreeLevelAutoEnumOR/W (read: manage, write: manage)persisted—
410x0029ImageRotationDiscreteAnglesuint16P, [ClusterRevision >= 2 & ICTL & !ImageRotation]R/W (read: manage, write: manage)persisted0

Global attributes

IDHexAttributeMeaning
655280xFFF8GeneratedCommandListResponse command IDs this server generates.
655290xFFF9AcceptedCommandListCommand IDs this server accepts.
655310xFFFBAttributeListAttribute IDs implemented.
655320xFFFCFeatureMapImplemented optional features (see above).
655330xFFFDClusterRevisionCluster revision implemented; 2 for a Matter 1.6.1 device.

Attribute Details

Attribute 0 / 0x0000 — MaxConcurrentEncoders

Path example:

1/1361/0

Indicates the maximum number of concurrent encoders supported by the camera.

PropertyValue
Typeuint8
ConformanceVDO | SNP
AccessR (read: view)

Example:

{
  "1/1361/0": 1
}

Attribute 1 / 0x0001 — MaxEncodedPixelRate

Path example:

1/1361/1

Indicates the maximum data rate in encoded pixels per second that the camera can produce given the hardware encoder resources it has. This value is manufacturer specified. If the camera supports Snapshots and requires hardware encoder resources to produce those Snapshots, then this attribute is present, and a manufacturer specific value is present in each SnapshotCapabilities MaxFrameRate entry that requires hardware resources to produce.

PropertyValue
Typeuint32
ConformanceVDO | SNP
AccessR (read: view)

Example:

{
  "1/1361/1": 1
}

Attribute 2 / 0x0002 — VideoSensorParams

Path example:

1/1361/2

Indicates the set of video sensor parameters for the camera. These include the video sensor dimensions, its frame rate and HDR capabilities.

PropertyValue
TypeVideoSensorParamsStruct
ConformanceVDO
AccessR (read: view)

Value is a VideoSensorParamsStruct struct (see Data Types).

Example:

{
  "1/1361/2": {
    "sensorWidth": 64,
    "sensorHeight": 64,
    "maxFPS": 1,
    "maxHDRFPS": 1
  }
}

Attribute 3 / 0x0003 — NightVisionUsesInfrared

Path example:

1/1361/3

Indicates if the night vision mode is infrared based or not. A value of TRUE indicates infrared mode with a cut filter being used. A value of FALSE indicates color is used. When infrared is active and the resulting content is in black and white, the BlackAndWhiteActive field inside any produced AVMetadataStruct is TRUE.

PropertyValue
Typebool
ConformanceNV
AccessR (read: view)

Example:

{
  "1/1361/3": true
}

Attribute 4 / 0x0004 — MinViewportResolution

Path example:

1/1361/4

Indicates the minimum resolution (width and height) in pixels that the camera allows for its viewport. The choice of the minimum viewport width and height is, typically, directed towards maintaining the best image quality (reduced distortion) for a given size of the video sensor, for different camera functions, e.g., digital zoom. Furthermore, the minimum viewport size and the video sensor size also dictate the upscaling capabilities and requirements of the image processor.

PropertyValue
TypeVideoResolutionStruct
ConformanceVDO
AccessR (read: view)

Value is a VideoResolutionStruct struct (see Data Types).

Example:

{
  "1/1361/4": {
    "width": 1,
    "height": 1
  }
}

Attribute 5 / 0x0005 — RateDistortionTradeOffPoints

Path example:

1/1361/5

This attribute lists the set of rate distortion trade-off points between resolution, frame rate and bitrate for each supported hardware encoder.

PropertyValue
Typelist of RateDistortionTradeOffPointsStruct
ConformanceVDO
AccessR (read: view)

Each entry is a RateDistortionTradeOffPointsStruct (see Data Types).

Example:

{
  "1/1361/5": []
}

Attribute 6 / 0x0006 — MaxContentBufferSize

Path example:

1/1361/6

Indicates the maximum size of the content buffer in bytes. This buffer holds the compressed and/or raw content for audio/video pre-roll, queued transmissions, the current frame for each snapshot stream, and the metadata context for recording events. For devices which support more than one encoder, the device must evenly allocate this buffer space amongst all streams that utilize pre-roll content such as the Push AV Stream Transport Cluster.

PropertyValue
Typeuint32
ConformanceM
AccessR (read: view)

Example:

{
  "1/1361/6": 1
}

Attribute 7 / 0x0007 — MicrophoneCapabilities

Path example:

1/1361/7

Indicates the audio capabilities of the microphone in terms of the codec used, supported sample rates and the number of channels.

PropertyValue
TypeAudioCapabilitiesStruct
ConformanceADO
AccessR (read: view)

Value is a AudioCapabilitiesStruct struct (see Data Types).

Example:

{
  "1/1361/7": {
    "maxNumberOfChannels": 1,
    "supportedCodecs": [],
    "supportedSampleRates": [],
    "supportedBitDepths": []
  }
}

Attribute 8 / 0x0008 — SpeakerCapabilities

Path example:

1/1361/8

Indicates the audio capabilities of the speaker in terms of the supported codecs, sample rates, and the number of channels when a speaker is present.

PropertyValue
TypeAudioCapabilitiesStruct
ConformanceSPKR
AccessR (read: view)

Value is a AudioCapabilitiesStruct struct (see Data Types).

Example:

{
  "1/1361/8": {
    "maxNumberOfChannels": 1,
    "supportedCodecs": [],
    "supportedSampleRates": [],
    "supportedBitDepths": []
  }
}

Attribute 9 / 0x0009 — TwoWayTalkSupport

Path example:

1/1361/9

Indicates the type of two-way talk support the device has, e.g., NotSupported, HalfDuplex, or FullDuplex.

PropertyValue
TypeTwoWayTalkSupportTypeEnum
ConformanceSPKR
AccessR (read: view)

Values (TwoWayTalkSupportTypeEnum):

ValueNameMeaning
0NotSupportedTwo-way Talk support is absent.
1HalfDuplexAudio in one direction at a time.
2FullDuplexAudio in both directions simultaneously.

Example:

{
  "1/1361/9": 0
}

Attribute 10 / 0x000A — SnapshotCapabilities

Path example:

1/1361/10

Indicates the list of supported snapshot capabilities the device has. This list is a set of entries for image codec, resolution, maximum frame rate, hardware encoder, and encoded pixels.

PropertyValue
Typelist of SnapshotCapabilitiesStruct
ConformanceSNP
AccessR (read: view)

Each entry is a SnapshotCapabilitiesStruct (see Data Types).

Example:

{
  "1/1361/10": []
}

Attribute 11 / 0x000B — MaxNetworkBandwidth

Path example:

1/1361/11

Indicates the maximum network bandwidth in bits per second that the device would consume for the transmission of its media streams.

PropertyValue
Typeuint32
ConformanceM
AccessR (read: view)

Example:

{
  "1/1361/11": 1
}

Attribute 12 / 0x000C — CurrentFrameRate

Path example:

1/1361/12

Indicates the current logical frame rate of the sensor in frames per second.

PropertyValue
Typeuint16
ConformanceVDO
AccessR (read: view)

Example:

{
  "1/1361/12": 1
}

Attribute 13 / 0x000D — HDRModeEnabled

Path example:

1/1361/13

No condensed specification text is available for HDRModeEnabled; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typebool
ConformanceHDR
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/13": true
}

Attribute 14 / 0x000E — SupportedStreamUsages

Path example:

1/1361/14

Indicates the list of Stream Usages that are supported by the camera. Manufacturers provides a usages list that is appropriate to their product. If a usage is found in this list, then it can be used in the StreamUsagePriorities attribute. The ordering and values of this list must match the values found in StreamUsagePriorities after a factory reset.

PropertyValue
Typelist of StreamUsageEnum
ConformanceM
AccessR (read: view)

Example:

{
  "1/1361/14": []
}

Attribute 15 / 0x000F — AllocatedVideoStreams

Path example:

1/1361/15

Indicates the list of allocated video streams on the device.

PropertyValue
Typelist of VideoStreamStruct
ConformanceVDO
AccessR (read: view)
Qualitiespersisted

Each entry is a VideoStreamStruct (see Data Types).

Example:

{
  "1/1361/15": []
}

Attribute 16 / 0x0010 — AllocatedAudioStreams

Path example:

1/1361/16

Indicates the list of allocated audio streams on the device.

PropertyValue
Typelist of AudioStreamStruct
ConformanceADO
AccessR (read: view)
Qualitiespersisted

Each entry is a AudioStreamStruct (see Data Types).

Example:

{
  "1/1361/16": []
}

Attribute 17 / 0x0011 — AllocatedSnapshotStreams

Path example:

1/1361/17

Indicates the list of allocated snapshot streams on the device.

PropertyValue
Typelist of SnapshotStreamStruct
ConformanceSNP
AccessR (read: view)
Qualitiespersisted

Each entry is a SnapshotStreamStruct (see Data Types).

Example:

{
  "1/1361/17": []
}

Attribute 18 / 0x0012 — StreamUsagePriorities

Path example:

1/1361/18

Indicates a list of the video stream usages represented in a ranked order of their priorities, starting with Index 0 having the stream usage type with the highest priority. See Resource Management and Stream Priorities for further details. Only usages found in the SupportedStreamUsages attribute can be included. To change the contents, use the SetStreamPriorities command.

PropertyValue
Typelist of StreamUsageEnum
ConformanceM
AccessR (read: view)
Qualitiespersisted

Example:

{
  "1/1361/18": []
}

Attribute 19 / 0x0013 — SoftRecordingPrivacyModeEnabled

Path example:

1/1361/19

This attribute indicates the current value of the soft privacy mode for transports using the Stream Usage types Recording and Analysis. A value of TRUE indicates that delivery of video frames and audio samples from any streams to these transports is skipped. A value of TRUE also indicates that no new transports using these stream usage values can be created or started. When FALSE, these transports can be resumed or started, and have video frames and audio samples delivered.

PropertyValue
Typebool
ConformancePRIV
AccessR/W (read: view, write: operate)
Qualitiespersisted

Example:

{
  "1/1361/19": true
}

Attribute 20 / 0x0014 — SoftLivestreamPrivacyModeEnabled

Path example:

1/1361/20

This attribute indicates the current value of the soft privacy mode for transports using the Stream Usage type LiveView. A value of TRUE indicates that delivery of video frames and audio samples from any streams to these transports is skipped. A value of TRUE also indicates that no new transports using this stream usage type can be created or started. When FALSE, these transports can be resumed or started, and have video frames and audio samples delivered.

PropertyValue
Typebool
ConformancePRIV
AccessR/W (read: view, write: operate)
Qualitiespersisted

Example:

{
  "1/1361/20": true
}

Attribute 21 / 0x0015 — HardPrivacyModeOn

Path example:

1/1361/21

This attribute indicates the current value of the hard privacy mode for all streams. This is controlled via a physical button or switch, potentially. A value of TRUE indicates that all streams are currently paused. When FALSE, the streams may resume if they are not already paused by their corresponding soft privacy mode.

PropertyValue
Typebool
ConformanceO
AccessR (read: view)
Defaultfalse

Example:

{
  "1/1361/21": true
}

Attribute 22 / 0x0016 — NightVision

Path example:

1/1361/22

This attribute indicates the currently selected Night Vision mode. A value of Off means the device will never activate its Night Vision mode of operation. A value of On means the Night Vision mode of operation is always active. A value of Auto means the device will automatically move between active and inactive based on the light level it detects.

PropertyValue
TypeTriStateAutoEnum
ConformanceNV
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Values (TriStateAutoEnum):

ValueNameMeaning
0OffOff
1OnOn
2AutoAutomatic Operation

Example:

{
  "1/1361/22": 0
}

Attribute 23 / 0x0017 — NightVisionIllum

Path example:

1/1361/23

This attribute indicates the currently selected the Night Vision Illumination mode. A value of Off means the device will never activate its built-in Night Vision Illumination. A value of On means the built-in Night Vision Illumination is always active. A value of Auto means the device will automatically enable its built-in Night Vision Illumination based on the light level it detects.

PropertyValue
TypeTriStateAutoEnum
Conformance[NV]
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Values (TriStateAutoEnum):

ValueNameMeaning
0OffOff
1OnOn
2AutoAutomatic Operation

Example:

{
  "1/1361/23": 0
}

Attribute 24 / 0x0018 — Viewport

Path example:

1/1361/24

This attribute is a ViewportStruct representing the viewport to apply to all streams. The coordinate values represent the upper left corner and lower right corner coordinates of the source rectangle on the sensor. The coordinate values are within the two-dimensional Cartesian plane of size SensorWidth and SensorHeight (See VideoSensorParamsStruct in the VideoSensorParams) with the origin (0,0) being the upper left corner, positive X and Y values moving right and down across the Cartesian plane respectively, and (SensorWidth, SensorHeight) being the lower right corner.

PropertyValue
TypeViewportStruct
ConformanceVDO
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/24": 0
}

Attribute 25 / 0x0019 — SpeakerMuted

Path example:

1/1361/25

This attribute indicates whether the speaker is currently muted or not. A value of TRUE indicates that the speaker has been muted and must not play anything. A value of FALSE indicates that the Speaker is enabled.

PropertyValue
Typebool
ConformanceSPKR
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/25": true
}

Attribute 26 / 0x001A — SpeakerVolumeLevel

Path example:

1/1361/26

This attribute indicates the current volume level of the speaker.

PropertyValue
Typeuint8
ConformanceSPKR
AccessR/W (read: manage, write: manage)
Qualitiespersisted
ConstraintSpeakerMinLevel to SpeakerMaxLevel

Example:

{
  "1/1361/26": 100
}

Attribute 27 / 0x001B — SpeakerMaxLevel

Path example:

1/1361/27

This attribute indicates the maximum value of the SpeakerVolumeLevel that can be assigned.

PropertyValue
Typeuint8
ConformanceSPKR
AccessR (read: manage)
ConstraintSpeakerMinLevel to 254

Example:

{
  "1/1361/27": 100
}

Attribute 28 / 0x001C — SpeakerMinLevel

Path example:

1/1361/28

This attribute indicates the minimum value of the SpeakerVolumeLevel that can be assigned.

PropertyValue
Typeuint8
ConformanceSPKR
AccessR (read: manage)
Constraintmax SpeakerMaxLevel

Example:

{
  "1/1361/28": 100
}

Attribute 29 / 0x001D — MicrophoneMuted

Path example:

1/1361/29

This attribute indicates whether the microphone is currently muted or not. A value of TRUE indicates that the microphone has been muted. In this state, the microphone data is replaced with all 0 bits, representing silence. A value of FALSE indicates that the microphone is On and is capable of transmitting audio.

PropertyValue
Typebool
ConformanceADO
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/29": true
}

Attribute 30 / 0x001E — MicrophoneVolumeLevel

Path example:

1/1361/30

This attribute indicates the current gain or volume level of the microphone.

PropertyValue
Typeuint8
ConformanceADO
AccessR/W (read: manage, write: manage)
Qualitiespersisted
ConstraintMicrophoneMinLevel to MicrophoneMaxLevel

Example:

{
  "1/1361/30": 100
}

Attribute 31 / 0x001F — MicrophoneMaxLevel

Path example:

1/1361/31

This attribute indicates the maximum value of the MicrophoneVolumeLevel that can be assigned.

PropertyValue
Typeuint8
ConformanceADO
AccessR (read: manage)
ConstraintMicrophoneMinLevel to 254

Example:

{
  "1/1361/31": 100
}

Attribute 32 / 0x0020 — MicrophoneMinLevel

Path example:

1/1361/32

This attribute indicates the minimum value of the MicrophoneVolumeLevel that can be assigned.

PropertyValue
Typeuint8
ConformanceADO
AccessR (read: manage)
Constraintmax MicrophoneMaxLevel

Example:

{
  "1/1361/32": 100
}

Attribute 33 / 0x0021 — MicrophoneAGCEnabled

Path example:

1/1361/33

No condensed specification text is available for MicrophoneAGCEnabled; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typebool
Conformance[ADO]
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Defaulttrue

Example:

{
  "1/1361/33": true
}

Attribute 34 / 0x0022 — ImageRotation

Path example:

1/1361/34

This attribute indicates the amount of clockwise rotation in degrees that the image has been subjected to. This attribute may be present if the underlying hardware allows for arbitrary angle rotation within the full 360 degree range. If this attribute is not present, then discrete angle rotation may be supported via the ImageRotationDiscreteAngles. A value of 0 means no rotation has been applied.

PropertyValue
Typeuint16
Conformance[ICTL]
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Constraintmax 359

Example:

{
  "1/1361/34": 1
}

Attribute 35 / 0x0023 — ImageFlipHorizontal

Path example:

1/1361/35

This attribute indicates whether the image has been flipped horizontally or not. A value of TRUE indicates that the image has been flipped horizontally.

PropertyValue
Typebool
Conformance[ICTL]
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Defaultfalse

Example:

{
  "1/1361/35": true
}

Attribute 36 / 0x0024 — ImageFlipVertical

Path example:

1/1361/36

This attribute indicates whether the image has been flipped vertically or not. A value of TRUE indicates that the image has been flipped vertically.

PropertyValue
Typebool
Conformance[ICTL]
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Defaultfalse

Example:

{
  "1/1361/36": true
}

Attribute 37 / 0x0025 — LocalVideoRecordingEnabled

Path example:

1/1361/37

This attribute indicates whether local storage based video recording is enabled. A value of TRUE indicates that local storage based video recording has been enabled.

PropertyValue
Typebool
ConformanceVDO & STOR
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/37": true
}

Attribute 38 / 0x0026 — LocalSnapshotRecordingEnabled

Path example:

1/1361/38

This attribute indicates whether local storage based snapshot recording is enabled. A value of TRUE indicates that local storage based snapshot recording has been enabled.

PropertyValue
Typebool
ConformanceSNP & STOR
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/38": true
}

Attribute 39 / 0x0027 — StatusLightEnabled

Path example:

1/1361/39

This attribute indicates whether the status light has been enabled or not. A value of TRUE indicates the status light has been enabled. When enabled, the camera may use it for visual signaling purposes to indicate various states of the camera.

PropertyValue
Typebool
ConformanceO
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Defaulttrue

Example:

{
  "1/1361/39": true
}

Attribute 40 / 0x0028 — StatusLightBrightness

Path example:

1/1361/40

This attribute indicates the brightness level of the status light.

PropertyValue
TypeThreeLevelAutoEnum
ConformanceO
AccessR/W (read: manage, write: manage)
Qualitiespersisted

Example:

{
  "1/1361/40": 0
}

Attribute 41 / 0x0029 — ImageRotationDiscreteAngles

Path example:

1/1361/41

This attribute indicates the amount of clockwise rotation in specific angles of 0, 90, 180, and 270 degrees. This attribute is used by cameras that do not have the capability of full arbitrary rotation angles that can be set via the ImageRotation attribute. Note that the ImageFlipHorizontal and the ImageFlipVertical attributes only allow for a lateral inversion or mirror reflection of the image along the horizontal and/or vertical axes. A value of 0 means no rotation has been applied.

PropertyValue
Typeuint16
ConformanceP, [ClusterRevision >= 2 & ICTL & !ImageRotation]
AccessR/W (read: manage, write: manage)
Qualitiespersisted
Constraintallowed: 0, 90, 180, 270
Default0

Example:

{
  "1/1361/41": 1
}

Cluster 1361 Commands

Cluster 1361 has 10 client-to-server commands and 4 responses.

IDHexCommandDirectionConformanceResponseDescription
00x00AudioStreamAllocateclient → serverADOAudioStreamAllocateResponseThis command must allocate an audio stream on the camera and return an allocated audio stream identifier.
10x01AudioStreamAllocateResponseserver → clientADO—This command is sent by the camera in response to the AudioStreamAllocate command, carrying the newly allocated or re-used audio stream identifier.
20x02AudioStreamDeallocateclient → serverADOstatusThis command must deallocate an audio stream on the camera, corresponding to the given audio stream identifier.
30x03VideoStreamAllocateclient → serverVDOVideoStreamAllocateResponseThis command must allocate a video stream on the camera and return an allocated video stream identifier.
40x04VideoStreamAllocateResponseserver → clientVDO—This command is sent by the camera in response to the VideoStreamAllocate command, carrying the newly allocated or re-used video stream identifier.
50x05VideoStreamModifyclient → serverVDO & WMARK | OSDstatusThis command is used to modify a stream specified by the VideoStreamID.
60x06VideoStreamDeallocateclient → serverVDOstatusThis command must deallocate a video stream on the camera, corresponding to the given video stream identifier.
70x07SnapshotStreamAllocateclient → serverSNPSnapshotStreamAllocateResponseThis command must allocate a snapshot stream on the device and return an allocated snapshot stream identifier.
80x08SnapshotStreamAllocateResponseserver → clientSNP—This command is sent by the device in response to the SnapshotStreamAllocate command, carrying the newly allocated or re-used snapshot stream identifier.
90x09SnapshotStreamModifyclient → serverSNP & WMARK | OSDstatusThis command is used to modify a stream specified by the VideoStreamID.
100x0ASnapshotStreamDeallocateclient → serverSNPstatusThis command must deallocate an snapshot stream on the camera, corresponding to the given snapshot stream identifier.
110x0BSetStreamPrioritiesclient → serverMstatusThis command must set the relative priorities of the various stream usages on the camera.
120x0CCaptureSnapshotclient → serverSNPCaptureSnapshotResponseThis command returns a Snapshot from the camera.
130x0DCaptureSnapshotResponseserver → clientSNP—This command is sent by the device in response to the CaptureSnapshot command, carrying the requested snapshot.

AcceptedCommandList

The AcceptedCommandList attribute lists the command IDs the endpoint actually implements:

endpoint_id / 1361 / 65529
{
  "1/1361/65529": [
    0,
    2,
    3,
    5,
    6,
    7,
    9,
    10,
    11,
    12
  ]
}

Before sending a Cluster 1361 command, check that the command ID exists in endpoint/1361/65529. Optional commands are only present when the matching feature is set in FeatureMap.


Bridge Command Payload Format

The bridge accepts Matter commands in this structure:

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "AudioStreamAllocate",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

For Cluster 1361, always use "cluster_id": 1361. Payload keys are the command field names in lowerCamelCase. Octet-string fields are base64-encoded. timed_request_timeout_ms is required for timed commands and ignored otherwise.


Command: AudioStreamAllocate

Purpose

This command must allocate an audio stream on the camera and return an allocated audio stream identifier.

Command Identity

FieldValue
Command ID0
Command hex0x00
Command nameAudioStreamAllocate
Directionclient → server
ConformanceADO
ResponseAudioStreamAllocateResponse
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0StreamUsagestreamUsageStreamUsageEnumMallowed: Recording, Analysis, LiveViewIndicates the usage of the stream (Recording, LiveView, etc) that this allocation is for.
1AudioCodecaudioCodecAudioCodecEnumM—Indicates the type of Codec used by the allocated stream.
2ChannelCountchannelCountuint8M1 to 8Indicates the number of channels used by the allocated stream, e.g., Mono (1), Stereo (2), etc.
3SampleRatesampleRateuint32Mmin 1Indicates the sampling rate of the audio stream in Hz. Typical values would be 48000 (48 kHz), 32000 (32 kHz) or 16000 (16 kHz).
4BitRatebitRateuint32Mmin 1Indicates the bitrate of the specified audio codec in bits per second. The default bitrate may vary based on the type of device and codec.
5BitDepthbitDepthuint8Mallowed: 8, 16, 24, 32Indicates the number of bits of information (8, 16, 24 or 32 bits) used to represent each sample of the audio signal.

AudioCodec values (AudioCodecEnum): 0 = OPUS, 1 = AAC-LC

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "AudioStreamAllocate",
    "payload": {
      "streamUsage": 0,
      "audioCodec": 0,
      "channelCount": 1,
      "sampleRate": 1,
      "bitRate": 1,
      "bitDepth": 1
    }
  }
}

The device answers with AudioStreamAllocateResponse (see below).


Command: AudioStreamAllocateResponse

Purpose

This command is sent by the camera in response to the AudioStreamAllocate command, carrying the newly allocated or re-used audio stream identifier.

Command Identity

FieldValue
Command ID1
Command hex0x01
Command nameAudioStreamAllocateResponse
Directionserver → client (response)
ConformanceADO

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0AudioStreamIDaudioStreamIDAudioStreamIDM——

Command: AudioStreamDeallocate

Purpose

This command must deallocate an audio stream on the camera, corresponding to the given audio stream identifier.

Command Identity

FieldValue
Command ID2
Command hex0x02
Command nameAudioStreamDeallocate
Directionclient → server
ConformanceADO
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0AudioStreamIDaudioStreamIDAudioStreamIDM——

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "AudioStreamDeallocate",
    "payload": {
      "audioStreamID": 0
    }
  }
}

Command: VideoStreamAllocate

Purpose

This command must allocate a video stream on the camera and return an allocated video stream identifier.

Command Identity

FieldValue
Command ID3
Command hex0x03
Command nameVideoStreamAllocate
Directionclient → server
ConformanceVDO
ResponseVideoStreamAllocateResponse
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0StreamUsagestreamUsageStreamUsageEnumMallowed: Recording, Analysis, LiveViewIndicates the usage of the stream (Recording, LiveView, etc) that this allocation is for.
1VideoCodecvideoCodecVideoCodecEnumM—Indicates the type of codec used by the allocated video stream.
2MinFrameRateminFrameRateuint16M1 to MaxFrameRateIndicates the minimum frame rate in frames per second of the allocated video stream.
3MaxFrameRatemaxFrameRateuint16Mmin 1Indicates the maximum frame rate in frames per second of the allocated video stream.
4MinResolutionminResolutionVideoResolutionStructM—Indicates the minimum resolution of the allocated video stream.
5MaxResolutionmaxResolutionVideoResolutionStructM—Indicates the maximum resolution of the allocated video stream.
6MinBitRateminBitRateuint32M1 to MaxBitRateIndicates the minimum bitrate in bits per second of the allocated video stream.
7MaxBitRatemaxBitRateuint32Mmin 1Indicates the maximum bitrate in bits per second of the allocated video stream.
8KeyFrameIntervalkeyFrameIntervaluint16M0 to 65500Indicates the duration in milliseconds before a regular key-frame is generated. See KeyFrameInterval for further details.
9WatermarkEnabledwatermarkEnabledboolWMARK—Indicates whether a watermark can be applied on the video stream. A value of TRUE means that watermarking has been enabled for that stream.
10OSDEnabledosdEnabledboolOSD——

VideoCodec values (VideoCodecEnum): 0 = H264, 1 = HEVC, 2 = VVC, 3 = AV1

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "VideoStreamAllocate",
    "payload": {
      "streamUsage": 0,
      "videoCodec": 0,
      "minFrameRate": 1,
      "maxFrameRate": 1,
      "minResolution": {
        "width": 1,
        "height": 1
      },
      "maxResolution": {
        "width": 1,
        "height": 1
      },
      "minBitRate": 1,
      "maxBitRate": 1,
      "keyFrameInterval": 0
    }
  }
}

The device answers with VideoStreamAllocateResponse (see below).


Command: VideoStreamAllocateResponse

Purpose

This command is sent by the camera in response to the VideoStreamAllocate command, carrying the newly allocated or re-used video stream identifier.

Command Identity

FieldValue
Command ID4
Command hex0x04
Command nameVideoStreamAllocateResponse
Directionserver → client (response)
ConformanceVDO

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0VideoStreamIDvideoStreamIDVideoStreamIDM——

Command: VideoStreamModify

Purpose

This command is used to modify a stream specified by the VideoStreamID.

Command Identity

FieldValue
Command ID5
Command hex0x05
Command nameVideoStreamModify
Directionclient → server
ConformanceVDO & WMARK | OSD
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0VideoStreamIDvideoStreamIDVideoStreamIDM——
1WatermarkEnabledwatermarkEnabledbool[WMARK]—Indicates whether a watermark can be applied on the video stream. A value of TRUE means that watermarking has been requested for that stream.
2OSDEnabledosdEnabledbool[OSD]——

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "VideoStreamModify",
    "payload": {
      "videoStreamID": 0
    }
  }
}

Command: VideoStreamDeallocate

Purpose

This command must deallocate a video stream on the camera, corresponding to the given video stream identifier.

Command Identity

FieldValue
Command ID6
Command hex0x06
Command nameVideoStreamDeallocate
Directionclient → server
ConformanceVDO
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0VideoStreamIDvideoStreamIDVideoStreamIDM——

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "VideoStreamDeallocate",
    "payload": {
      "videoStreamID": 0
    }
  }
}

Command: SnapshotStreamAllocate

Purpose

This command must allocate a snapshot stream on the device and return an allocated snapshot stream identifier.

Command Identity

FieldValue
Command ID7
Command hex0x07
Command nameSnapshotStreamAllocate
Directionclient → server
ConformanceSNP
ResponseSnapshotStreamAllocateResponse
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ImageCodecimageCodecImageCodecEnumM—Indicates the type of image codec to be used by the allocated snapshot stream as described in ImageCodecEnum.
1MaxFrameRatemaxFrameRateuint16Mmin 1Indicates the maximum frame rate in frames per second of the allocated snapshot stream.
2MinResolutionminResolutionVideoResolutionStructM—Indicates the minimum resolution of the allocated snapshot stream.
3MaxResolutionmaxResolutionVideoResolutionStructM—Indicates the maximum resolution of the allocated snapshot stream.
4Qualityqualityuint8M1 to 100Indicates a codec quality metric(integer between 1 and 100) for the allocated snapshot stream.
5WatermarkEnabledwatermarkEnabledboolWMARK—Indicates whether a watermark can be applied on the snapshot stream. A value of TRUE means that watermarking has been requested for that stream.
6OSDEnabledosdEnabledboolOSD——

ImageCodec values (ImageCodecEnum): 0 = JPEG, 1 = HEIC

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "SnapshotStreamAllocate",
    "payload": {
      "imageCodec": 0,
      "maxFrameRate": 1,
      "minResolution": {
        "width": 1,
        "height": 1
      },
      "maxResolution": {
        "width": 1,
        "height": 1
      },
      "quality": 1
    }
  }
}

The device answers with SnapshotStreamAllocateResponse (see below).


Command: SnapshotStreamAllocateResponse

Purpose

This command is sent by the device in response to the SnapshotStreamAllocate command, carrying the newly allocated or re-used snapshot stream identifier.

Command Identity

FieldValue
Command ID8
Command hex0x08
Command nameSnapshotStreamAllocateResponse
Directionserver → client (response)
ConformanceSNP

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0SnapshotStreamIDsnapshotStreamIDSnapshotStreamIDM——

Command: SnapshotStreamModify

Purpose

This command is used to modify a stream specified by the VideoStreamID.

Command Identity

FieldValue
Command ID9
Command hex0x09
Command nameSnapshotStreamModify
Directionclient → server
ConformanceSNP & WMARK | OSD
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0SnapshotStreamIDsnapshotStreamIDSnapshotStreamIDM——
1WatermarkEnabledwatermarkEnabledbool[WMARK]—Indicates whether a watermark can be applied on the video stream. A value of TRUE means that watermarking has been requested for that stream.
2OSDEnabledosdEnabledbool[OSD]——

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "SnapshotStreamModify",
    "payload": {
      "snapshotStreamID": 0
    }
  }
}

Command: SnapshotStreamDeallocate

Purpose

This command must deallocate an snapshot stream on the camera, corresponding to the given snapshot stream identifier.

Command Identity

FieldValue
Command ID10
Command hex0x0A
Command nameSnapshotStreamDeallocate
Directionclient → server
ConformanceSNP
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0SnapshotStreamIDsnapshotStreamIDSnapshotStreamIDM——

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "SnapshotStreamDeallocate",
    "payload": {
      "snapshotStreamID": 0
    }
  }
}

Command: SetStreamPriorities

Purpose

This command must set the relative priorities of the various stream usages on the camera. The camera then bases its allocation of resources for each stream allocation based on the order of these stream priorities. In order to avoid the complexity of dynamically changing the configurations of currently active streams, this command must NOT be invoked when there are allocated streams. If changes are required while streams are allocated, all existing streams would need to be deallocated before invoking this command.

Command Identity

FieldValue
Command ID11
Command hex0x0B
Command nameSetStreamPriorities
Directionclient → server
ConformanceM
Responsestatus
Access(invoke: admin)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0StreamPrioritiesstreamPrioritieslist of StreamUsageEnumMdescThe StreamPriorities field contains a list of stream usages in decreasing order of stream priorities, starting at index 0 of the list, with no duplicate values allowed, and only containing entries found in SupportedStreamUsages.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "SetStreamPriorities",
    "payload": {
      "streamPriorities": []
    }
  }
}

Command: CaptureSnapshot

Purpose

This command returns a Snapshot from the camera.

Command Identity

FieldValue
Command ID12
Command hex0x0C
Command nameCaptureSnapshot
Directionclient → server
ConformanceSNP
ResponseCaptureSnapshotResponse
Access(invoke: operate)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0SnapshotStreamIDsnapshotStreamIDSnapshotStreamID (nullable)M——
1RequestedResolutionrequestedResolutionVideoResolutionStructM—The RequestedResolution field is a VideoResolutionStruct representing the preferred resolution of the snapshot.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1361,
    "command_name": "CaptureSnapshot",
    "payload": {
      "snapshotStreamID": 0,
      "requestedResolution": {
        "width": 1,
        "height": 1
      }
    }
  }
}

The device answers with CaptureSnapshotResponse (see below).


Command: CaptureSnapshotResponse

Purpose

This command is sent by the device in response to the CaptureSnapshot command, carrying the requested snapshot.

Command Identity

FieldValue
Command ID13
Command hex0x0D
Command nameCaptureSnapshotResponse
Directionserver → client (response)
ConformanceSNP

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0DatadataoctstrM—The Data field is an octet string representing the image data.
1ImageCodecimageCodecImageCodecEnumM—The ImageCodec field is an ImageCodecEnum representing the codec used to encode the image. This must match the value found in the corresponding allocated snapshot stream and is provided for convenience.
2ResolutionresolutionVideoResolutionStructM—The Resolution field is a VideoResolutionStruct representing the resolution of the supplied image.

ImageCodec values (ImageCodecEnum): 0 = JPEG, 1 = HEIC


Cluster 1361 Events

Cluster 1361 defines no events.


SmartphoneKey Notes

  • Cluster 1361 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
  • Shadow paths follow endpoint/1361/attribute; attribute values that the device reports as unreadable are written as n/a.
  • Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.