From f801340fc72fa98059350f17e8d546f8596f673c Mon Sep 17 00:00:00 2001 From: kkanag314 Date: Fri, 21 Jun 2024 07:32:40 +0000 Subject: [PATCH] adding SerParameter for RDK-adapter --- interfaces/IOCDM.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interfaces/IOCDM.h b/interfaces/IOCDM.h index 05ffba05..a4339fbf 100644 --- a/interfaces/IOCDM.h +++ b/interfaces/IOCDM.h @@ -128,6 +128,9 @@ struct ISession : virtual public Core::IUnknown { // Let the CDM know playback has stopped in order to disable output protection virtual void ResetOutputProtection() = 0; + // Set a name/value pair into the CDM + virtual void SetParameter(const std::string& name, const std::string& value) = 0; + // During instantiation a callback is set, here we can decouple. virtual void Revoke(ISession::ICallback* callback) = 0; };