Device Details

ParamsValue
ChipRpi4/Rpi3B+
Cobalt RDK Common Port - Cobalt 22.lts
CPUARMv7 Processor rev 0
Gstreamer1.16.0
Kernel5.10.52
Memory16 GB flash and 2 GB RAM
RDK Buildrdk-next
RDKServicesMain
UIRDK Resident UI
WidevineNot Available
Yocto3.1 - Dunfell


Prerequisite

Playing Test streams with Rialto

           Note: 

Playing HLS with Rialto

           Note: 

Running YouTube with Rialto

           Note: 

Pipeline Diagram



Application Session Management - Overview

RDK Shell + Rialto Architecture (Proposed)



App'n Launch Life cycle

App'n Suspend Life cycle

App'n Destroy Life cycle


Design Approach

This approach had flaws as considering the fact that RialtoServer shouldn't be started by service file directly.

libRialtoServerManager.so should be responsible for creating an insatnce of RialtoServer which should spawn the socket for running rialto.

As mentioned above the latest approach was to integrate libRialtoServerManager.so to RDKShell which would give RDKShell the access to invoke API's.

API's to be invoked via RDKShell.

https://github.com/rdkcentral/rialto/blob/master/serverManager/public/include/IServerManagerService.h

initiateApplication - causes for a new RialtoSessionServer instance to be spawned.

https://github.com/vijith-tv/rdkservices/blob/sprint/23Q2/RDKShell/RDKShell.cpp#L3517 places for invoking the API suggetsed by Michael

changeSessionServerState - requests an session server to change its state

https://github.com/vijith-tv/rdkservices/blob/sprint/23Q2/RDKShell/RDKShell.cpp#L4011 - suspend

https://github.com/vijith-tv/rdkservices/blob/sprint/23Q2/RDKShell/RDKShell.cpp#L4086 - destroy


https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/rdk-oe/meta-cmf/+/refs/heads/rdk-next/recipes-core/packagegroups/packagegroup-rdk-media-common.bbappend#20

https://code.rdkcentral.com/r/plugins/gitiles/components/generic/rdk-oe/meta-cmf-video/+/refs/heads/rdk-next/recipes-extended/rialto/


Known issues / Limitations

Encrypted playback is not verified as a part of POC.