@@ -9541,7 +9541,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9541
9541
kJPEG = 0;
9542
9542
}
9543
9543
9544
- enum StreamTypeEnum : enum8 {
9544
+ enum StreamUsageEnum : enum8 {
9545
9545
kInternal = 0;
9546
9546
kRecording = 1;
9547
9547
kAnalysis = 2;
@@ -9586,7 +9586,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9586
9586
9587
9587
struct VideoStreamStruct {
9588
9588
int16u videoStreamID = 0;
9589
- StreamTypeEnum streamType = 1;
9589
+ StreamUsageEnum streamUsage = 1;
9590
9590
VideoCodecEnum videoCodec = 2;
9591
9591
int16u minFrameRate = 3;
9592
9592
int16u maxFrameRate = 4;
@@ -9633,7 +9633,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9633
9633
9634
9634
struct AudioStreamStruct {
9635
9635
int16u audioStreamID = 0;
9636
- StreamTypeEnum streamType = 1;
9636
+ StreamUsageEnum streamUsage = 1;
9637
9637
AudioCodecEnum audioCodec = 2;
9638
9638
int8u channelCount = 3;
9639
9639
int32u sampleRate = 4;
@@ -9659,7 +9659,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9659
9659
9660
9660
info event VideoStreamChanged = 0 {
9661
9661
int16u videoStreamID = 0;
9662
- optional StreamTypeEnum streamType = 1;
9662
+ optional StreamUsageEnum streamUsage = 1;
9663
9663
optional VideoCodecEnum videoCodec = 2;
9664
9664
optional int16u minFrameRate = 3;
9665
9665
optional int16u maxFrameRate = 4;
@@ -9673,7 +9673,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9673
9673
9674
9674
info event AudioStreamChanged = 1 {
9675
9675
int16u audioStreamID = 0;
9676
- optional StreamTypeEnum streamType = 1;
9676
+ optional StreamUsageEnum streamUsage = 1;
9677
9677
optional AudioCodecEnum audioCodec = 2;
9678
9678
optional int8u channelCount = 3;
9679
9679
optional int32u sampleRate = 4;
@@ -9709,7 +9709,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9709
9709
readonly attribute optional VideoStreamStruct allocatedVideoStreams[] = 15;
9710
9710
readonly attribute optional AudioStreamStruct allocatedAudioStreams[] = 16;
9711
9711
readonly attribute optional SnapshotStreamStruct allocatedSnapshotStreams[] = 17;
9712
- readonly attribute optional StreamTypeEnum rankedVideoStreamPrioritiesList[] = 18;
9712
+ readonly attribute optional StreamUsageEnum rankedVideoStreamPrioritiesList[] = 18;
9713
9713
attribute optional boolean softRecordingPrivacyModeEnabled = 19;
9714
9714
attribute optional boolean softLivestreamPrivacyModeEnabled = 20;
9715
9715
readonly attribute optional boolean hardPrivacyModeOn = 21;
@@ -9740,7 +9740,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9740
9740
readonly attribute int16u clusterRevision = 65533;
9741
9741
9742
9742
request struct AudioStreamAllocateRequest {
9743
- StreamTypeEnum streamType = 0;
9743
+ StreamUsageEnum streamUsage = 0;
9744
9744
AudioCodecEnum audioCodec = 1;
9745
9745
int8u channelCount = 2;
9746
9746
int32u sampleRate = 3;
@@ -9757,7 +9757,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9757
9757
}
9758
9758
9759
9759
request struct VideoStreamAllocateRequest {
9760
- StreamTypeEnum streamType = 0;
9760
+ StreamUsageEnum streamUsage = 0;
9761
9761
VideoCodecEnum videoCodec = 1;
9762
9762
int16u minFrameRate = 2;
9763
9763
int16u maxFrameRate = 3;
@@ -9777,9 +9777,8 @@ provisional cluster CameraAvStreamManagement = 1361 {
9777
9777
9778
9778
request struct VideoStreamModifyRequest {
9779
9779
int16u videoStreamID = 0;
9780
- optional VideoResolutionStruct resolution = 1;
9781
- optional boolean watermarkEnabled = 2;
9782
- optional boolean OSDEnabled = 3;
9780
+ optional boolean watermarkEnabled = 1;
9781
+ optional boolean OSDEnabled = 2;
9783
9782
}
9784
9783
9785
9784
request struct VideoStreamDeallocateRequest {
@@ -9804,7 +9803,7 @@ provisional cluster CameraAvStreamManagement = 1361 {
9804
9803
}
9805
9804
9806
9805
request struct SetStreamPrioritiesRequest {
9807
- StreamTypeEnum streamPriorities[] = 0;
9806
+ StreamUsageEnum streamPriorities[] = 0;
9808
9807
}
9809
9808
9810
9809
request struct CaptureSnapshotRequest {
@@ -9832,17 +9831,17 @@ provisional cluster CameraAvStreamManagement = 1361 {
9832
9831
command access(invoke: manage) SnapshotStreamAllocate(SnapshotStreamAllocateRequest): SnapshotStreamAllocateResponse = 7;
9833
9832
/** This command SHALL deallocate an snapshot stream on the camera, corresponding to the given snapshot stream identifier. */
9834
9833
command access(invoke: manage) SnapshotStreamDeallocate(SnapshotStreamDeallocateRequest): DefaultSuccess = 9;
9835
- /** This command SHALL set the relative priorities of the various stream types on the camera. */
9834
+ /** This command SHALL set the relative priorities of the various stream usages on the camera. */
9836
9835
command access(invoke: administer) SetStreamPriorities(SetStreamPrioritiesRequest): DefaultSuccess = 10;
9837
9836
/** This command SHALL return a Snapshot from the camera. */
9838
- command CaptureSnapshot(CaptureSnapshotRequest): DefaultSuccess = 11;
9837
+ command CaptureSnapshot(CaptureSnapshotRequest): CaptureSnapshotResponse = 11;
9839
9838
}
9840
9839
9841
9840
/** The WebRTC transport provider cluster provides a way for stream providers (e.g. Cameras) to stream or receive their data through WebRTC. */
9842
9841
provisional cluster WebRTCTransportProvider = 1363 {
9843
9842
revision 1;
9844
9843
9845
- enum StreamTypeEnum : enum8 {
9844
+ enum StreamUsageEnum : enum8 {
9846
9845
kInternal = 0;
9847
9846
kRecording = 1;
9848
9847
kAnalysis = 2;
@@ -9879,7 +9878,7 @@ provisional cluster WebRTCTransportProvider = 1363 {
9879
9878
int16u id = 1;
9880
9879
node_id peerNodeID = 2;
9881
9880
fabric_idx peerFabricIndex = 3;
9882
- StreamTypeEnum streamType = 4;
9881
+ StreamUsageEnum streamUsage = 4;
9883
9882
nullable int16u videoStreamID = 5;
9884
9883
nullable int16u audioStreamID = 6;
9885
9884
WebRTCMetadataOptions metadataOptions = 7;
@@ -9894,7 +9893,7 @@ provisional cluster WebRTCTransportProvider = 1363 {
9894
9893
readonly attribute int16u clusterRevision = 65533;
9895
9894
9896
9895
request struct SolicitOfferRequest {
9897
- StreamTypeEnum streamType = 0;
9896
+ StreamUsageEnum streamUsage = 0;
9898
9897
optional nullable int16u videoStreamID = 1;
9899
9898
optional nullable int16u audioStreamID = 2;
9900
9899
optional ICEServerStruct ICEServers[] = 3;
@@ -9912,7 +9911,7 @@ provisional cluster WebRTCTransportProvider = 1363 {
9912
9911
request struct ProvideOfferRequest {
9913
9912
nullable int16u webRTCSessionID = 0;
9914
9913
char_string sdp = 1;
9915
- StreamTypeEnum streamType = 2;
9914
+ StreamUsageEnum streamUsage = 2;
9916
9915
optional nullable int16u videoStreamID = 3;
9917
9916
optional nullable int16u audioStreamID = 4;
9918
9917
optional ICEServerStruct ICEServers[] = 5;
@@ -9954,10 +9953,10 @@ provisional cluster WebRTCTransportProvider = 1363 {
9954
9953
}
9955
9954
9956
9955
/** The WebRTC transport requestor cluster provides a way for stream consumers (e.g. Matter Stream Viewer) to establish a WebRTC connection with a stream provider. */
9957
- cluster WebRTCTransportRequestor = 1364 {
9956
+ provisional cluster WebRTCTransportRequestor = 1364 {
9958
9957
revision 1;
9959
9958
9960
- enum StreamTypeEnum : enum8 {
9959
+ enum StreamUsageEnum : enum8 {
9961
9960
kInternal = 0;
9962
9961
kRecording = 1;
9963
9962
kAnalysis = 2;
@@ -9994,7 +9993,7 @@ cluster WebRTCTransportRequestor = 1364 {
9994
9993
int16u id = 1;
9995
9994
node_id peerNodeID = 2;
9996
9995
fabric_idx peerFabricIndex = 3;
9997
- StreamTypeEnum streamType = 4;
9996
+ StreamUsageEnum streamUsage = 4;
9998
9997
nullable int16u videoStreamID = 5;
9999
9998
nullable int16u audioStreamID = 6;
10000
9999
WebRTCMetadataOptions metadataOptions = 7;
0 commit comments