-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial implemention of a push av server #36004
base: master
Are you sure you want to change the base?
Conversation
Changed Files
|
PR #36004: Size comparison from a7bbd7b to 2bc6170 Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
The test plan integration example is currently not up to date, but the CLI example should run just fine nonetheless. |
The test example should be relatively correct, although it doesn't run locally for me due to the I have added the ability to run multiple servers concurrently (and accessing their CA hierarchies, example in the test file). I have also added an example on how to sign a certificate using the HTTP API. |
src/python_testing/push_av_server.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unsure if we should allow symlinks here as we have python_testing scripts generally be copied over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh, that's very good to know. The idea was to have the server be able to run standalone but that is still doable if its code live in src/python_testing/push_av_server
instead of src/tools/push_av_server
.
PR #36004: Size comparison from e80451c to 819e9d4 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
The test failure is due to the push av server not being marked as not a test. Once we have resolved the question of where the tool should live, I'll update the exclusion rules as required. |
PR #36004: Size comparison from ecdf4eb to 490e54e Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Push AV Server implementation for cameras. This PR is currently a draft to gather early feedback from the camera tiger team. It is not intended to be merged as part of the Matter 1.4 release.
This PR introduce a new tool (
src/tools/push_av_server/server.py
) that offer a web server to test the PUSH AV Transport cluster. The tool also manage TLS certificates for both the server itself as well as the cameras uploading to it. The server can be interacted with via HTTP calls when used as a standalone tool (work on a UI is in progress) or via python functions when used as a module (mostly targeting the test harness).Note that test harness integration is mostly a work in progress at this point. The added test file in this PR is only intended as a guide (as well as to provide information onto how the tool can be used in that context) to help develop correct APIs and is not intended to be merged as part of this PR.
The web server provide few checks in term of validation for the ingested media. The idea is to have a server permissive enough that record as much information as possible, and then rely on the actual test to validate that the camera is working as it should.
Testing
This PR introduce a tool that will be used as part of the camera test harness. Until those tests have been written, the tool can be tested by following the example's instruction in the tool's
README
file.