-
Notifications
You must be signed in to change notification settings - Fork 7
RDKEMW-10786: Added api to use url from rfc in screencapture #145
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
base: develop
Are you sure you want to change the base?
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.
Pull request overview
This PR adds a new API method SendScreenshot to the ScreenCapture component that retrieves the upload URL from RFC (Remote Feature Control) configuration instead of requiring it as a parameter. This allows the screenshot upload destination to be centrally configured via RFC settings.
Key Changes
- Added new
SendScreenshotmethod that reads URL from RFC configuration - Implemented RFC-based enable/disable flag checking for screen capture functionality
- Modified GitHub workflow to temporarily include the feature branch in CI triggers
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| ScreenCapture/ScreenCaptureImplementation.h | Added declaration for new SendScreenshot method |
| ScreenCapture/ScreenCaptureImplementation.cpp | Implemented SendScreenshot with RFC configuration retrieval and validation logic |
| .github/workflows/native_full_build.yml | Added temporary feature branch to pull request trigger list and minor formatting changes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
c74d6f1 to
01b39b6
Compare
|
|
||
| this->url = std::move(url); | ||
|
|
||
| if (!callGUID.empty()) |
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.
What if the callGUID is empty? Can we return an error? Also, fill this only when you have URL to maintain consistency
| _adminLock.Unlock(); | ||
| } | ||
|
|
||
| Core::hresult ScreenCaptureImplementation::SendScreenshot(const string &callGUID, Result &result) |
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.
Please add L1/L2 for this method as needed.
Reason For Change: Added api to use url from rfc in screencapture
Test procedure : Compiled and Verified
version: minor
Priority: P1