-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Camera] Re-enable WebRTC Requester tests #40134
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
[Camera] Re-enable WebRTC Requester tests #40134
Conversation
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.
Code Review
This pull request re-enables WebRTC requester tests by introducing a new establish-session
command that correctly allocates a video stream before initiating the WebRTC session. The changes look good and logically follow the PR's objective.
I've made a few suggestions:
- Critical: Remove hardcoded user-specific paths from the new VSCode configuration files to ensure they are portable for all developers.
- Medium: Refactor duplicated code into a helper function for better maintainability.
- Medium: Replace a magic number with a
static_cast
to an enum for better readability and type safety.
examples/camera-controller/commands/webrtc/WebRTCProviderCommands.cpp
Outdated
Show resolved
Hide resolved
2425a6f
to
aa3893b
Compare
…nds.cpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
PR #40134: Size comparison from b7bbf2e to e91755b Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
* Re-enable WebRTC Requster tests * Update examples/camera-controller/commands/webrtc/WebRTCProviderCommands.cpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Summary
WebRTC Requester tests has been temperately disabled due to the camera-controller could not allocate video stream before establishing WebRTC session.
Related issues
Fixes: #39840
Testing
Update the WebRTCR python tests and validate the change by CI