Skip to content

[Bug] WEBRTC liveview fail #774

@donotworryok77

Description

@donotworryok77

Describe the bug

follow up the ReadMe.
https://project-chip.github.io/connectedhomeip-doc/examples/camera-controller/README.html

We want to using the livestream on the local, looks the commands not working.
could you help me check again?

Video Stream Allocation
cameraavstreammanagement video-stream-allocate 3 0 30 30 '{ "width":640, "height":480}' '{ "width":640, "height":480}' 10000 10000 1 10 1 1 --WatermarkEnabled 1 --OSDEnabled 1
Audio Stream Allocation

cameraavstreammanagement audio-stream-allocate 3 0 2 48000 96000 16 1 1
Push AV Transport allocation

pushavstreamtransport allocate-push-transport '{"streamUsage":0, "videoStreamID":1, "audioStreamID":2, "endpointID":1, "url":"https://localhost:1234/streams/1", "triggerOptions":{"triggerType":0, "maxPreRollLen":1, "motionTimeControl":{"initialDuration":20, "augmentationDuration":5,"maxDuration":40, "blindDuration":5}}, "ingestMethod":0, "containerOptions":{"containerType":0, "CMAFContainerOptions": {"chunkDuration": 4, "CMAFInterface": 0, "segmentDuration": 6, "sessionGroup": 1, "trackName": "main"}}}' 1 1

The failed logs show as below.

[1761208615.666] [9692:9692] [DMG] AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0555 e=1 p=o r=i
[1761208615.666] [9692:9692] [DMG] AccessControl: allowed
[1761208615.666] [9692:9692] [DMG] AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0555 e=1 p=m r=i
[1761208615.666] [9692:9692] [DMG] AccessControl: allowed
[1761208615.666] [9692:9692] [DMG] Received command for Endpoint=1 Cluster=0x0000_0555 Command=0x0000_0000
[1761208615.666] [9692:9692] [ZCL] Transport Options verification from command data[ep=1]: Found Motion Time Control which is not expected
[1761208615.666] [9692:9692] [ZCL] HandleAllocatePushTransport[ep=1]: TransportOptions of command data is not Valid
[1761208615.666] [9692:9692] [DMG] Endpoint=1 Cluster=0x0000_0555 Command=0x0000_0000 status 0x85 (INVALID_COMMAND) (no additional context)
[1761208615.666] [9692:9692] [DMG] Command handler moving to [NewRespons]

I think the matter code always upgrade to latest. but the command doesn't follow up the code.

Steps to reproduce the behavior

No response

Expected behavior

No response

Log files

No response

PICS file

No response

Screenshots

No response

Environment

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions