Skip to content

Commit a07e914

Browse files
RDK-58380 : A-sync Dispatch instead of sync Invoke for JSON-RPC (#6328)
* Revert "RDK-58380 : Avoid implicit cast of Core::JSON objects (#6314)" This reverts commit 9a429cd. * Tidy up yml workflow file * Fix format specifiers * RDK-58380 : More checks / logs for ContentProtection service Reason for change: For all events, check Ids are relevant to ContentProtection, and ignore otherwise. For all json-rpc, log return code on failure, to indicate timeouts or other issues. Test Procedure: None Risks: None Signed-off-by: Nikita Poltorapavlo <[email protected]> * RDK-58380 : A-sync Dispatch instead of sync Invoke for JSON-RPC Reason for change: JSONRPC Invoke from event handler is timing out when sending the call. Test Procedure: None Risks: None Signed-off-by: Nikita Poltorapavlo <[email protected]> --------- Signed-off-by: Nikita Poltorapavlo <[email protected]> Co-authored-by: Srikanth <[email protected]>
1 parent 9accb37 commit a07e914

File tree

2 files changed

+238
-125
lines changed

2 files changed

+238
-125
lines changed

ContentProtection/ContentProtection.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ namespace Plugin {
7272
_T("org.rdk.SecManager"), _T(""), "token=" + token);
7373
_watermark = Core::ProxyType<JSONRPCLink>::Create(
7474
_T("org.rdk.Watermark"), _T(""), "token=" + token);
75+
_secManager2 = Core::ProxyType<JSONRPCLinkNotSmart>::Create(
76+
_T("org.rdk.SecManager"), _T(""), "token=" + token);
77+
_watermark2 = Core::ProxyType<JSONRPCLinkNotSmart>::Create(
78+
_T("org.rdk.Watermark"), _T(""), "token=" + token);
7579
Subscribe();
7680

7781
return result;

0 commit comments

Comments
 (0)