Skip to content

Conversation

@preeja33
Copy link
Contributor

Reason For Change: Added api to use url from rfc in screencapture
Test procedure : Compiled and Verified
version: minor
Priority: P1

@preeja33 preeja33 requested a review from a team as a code owner December 14, 2025 14:19
Copy link
Contributor

Copilot AI left a 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 SendScreenshot method 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.

@preeja33 preeja33 force-pushed the feature/RDKEMW-10786 branch from c74d6f1 to 01b39b6 Compare December 15, 2025 13:45

this->url = std::move(url);

if (!callGUID.empty())
Copy link
Contributor

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)
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants