Skip to content

Release/1.0.2#18

Closed
afranc083 wants to merge 14 commits into
mainfrom
release/1.0.2
Closed

Release/1.0.2#18
afranc083 wants to merge 14 commits into
mainfrom
release/1.0.2

Conversation

@afranc083

Copy link
Copy Markdown
Contributor

No description provided.

afranc083 and others added 14 commits April 17, 2026 19:56
…eneric component

Reason for change:
1. Clean up the code and resolve the build time warnings

Test Procedure: Build & Playback Test verified

Risks: None.

Signed-off-by: antonyxavier_francis@comcast.com
…eneric component

Reason for change:
1. Clean up the code and resolve the build time warnings

Test Procedure: Build & Playback Test verified

Risks: None.

Signed-off-by: antonyxavier_francis@comcast.com
…warn

RDKMVE-2334 : Fix Build Warnings in the playready-rdk and gst_svp_ext generic component
…ails with PlayReady

Reason for change: updating ocdm playready

Test Procedure: Build and verify.

Signed-off-by: ligin_punoose@comcast.com
RDKMVE-2501: [Netflix] Netflix non-rialto binary protected playback fails with PlayReady
Copilot AI review requested due to automatic review settings June 9, 2026 13:52
@afranc083 afranc083 closed this Jun 9, 2026
@afranc083 afranc083 deleted the release/1.0.2 branch June 9, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown

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 prepares the 1.0.2 release by addressing build warnings and adjusting PlayReady session/SVP buffer handling, and updates the project changelog accordingly.

Changes:

  • Remove unused variables and fix C++ declaration/typing issues to reduce build warnings.
  • Initialize SVP secure memory region in the MediaKeySession constructor variant implemented in MediaSessionExt.cpp.
  • Fix decryption buffer length handling in MediaKeySession::Decrypt() and update key-status callback pointer casts.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
MediaSystem.cpp Removes unused variables to reduce compiler warnings.
MediaSessionExt.cpp Adds SVP secure buffer initialization and adjusts key-status callback argument types.
MediaSession.h Adjusts KeyId::getmBytes() mutability and fixes the Decrypt declaration.
MediaSession.cpp Fixes decrypted-length handling in Decrypt() and updates key-status callback argument types.
CHANGELOG.md Adds entries for the 1.0.2 release and date metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread MediaSessionExt.cpp
Comment on lines +77 to +80
if( 0 != svp_allocate_secure_buffers(m_pSVPContext, (void**)&m_stSecureBuffInfo, nullptr, nullptr, m_stSecureBuffInfo.SecureMemRegionSize))
{
m_stSecureBuffInfo.SecureMemRegionSize = 0;
}
Comment thread MediaSessionExt.cpp
if ( keyId.getKeyIdOrder() == KeyId::KEYID_ORDER_GUID_LE )
keyId.ToggleFormat();
m_piCallback->OnKeyStatusUpdate("KeyUsable", keyId.getmBytes(), DRM_ID_SIZE);
m_piCallback->OnKeyStatusUpdate("KeyUsable", (const uint8_t *)keyId.getmBytes(), DRM_ID_SIZE);
Comment thread MediaSession.h
void setKeyIdOrder(KeyIdOrder);
KeyIdOrder getKeyIdOrder();
const DRM_BYTE* getmBytes();
DRM_BYTE* getmBytes();
Comment thread MediaSession.cpp
for (DECRYPT_CONTEXT &p : m_DecryptContextVector)
{
m_piCallback->OnKeyStatusUpdate(MapDrToKeyMessage( dr ), p->keyId.getmBytes(), DRM_ID_SIZE);
m_piCallback->OnKeyStatusUpdate(MapDrToKeyMessage( dr ), (const uint8_t *)p->keyId.getmBytes(), DRM_ID_SIZE);
Comment thread MediaSession.cpp
LoopEnd:
if ( m_piCallback ){
m_piCallback->OnKeyStatusUpdate( MapDrToKeyMessage( dr ), keyId.getmBytes(), DRM_ID_SIZE);
m_piCallback->OnKeyStatusUpdate( MapDrToKeyMessage( dr ), (const uint8_t *)keyId.getmBytes(), DRM_ID_SIZE);
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants