Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 171

...

RDK Shell + Rialto Architecture (Proposed)

Image Removed


Image RemovedImage Added


App'n Launch Life cycle

draw.io Diagram
16
bordertrue
diagramNametest
simpleViewerfalse
width600
linksauto
tbstyletop
lboxtrue
diagramWidth911
revision19

  • initiateApplication - creates a new RialtoSessionServer/RialtoServer instance.
  • changeSessionServerState - requests Rialtosessionserver/RailtoServer to change its state
  • socketpair is used to create the point-to-point IPC channel used for all Rialto Server Manager to Rialto Application Session Server communications
  • Application Session Server sends first message so Server Manager knows that it is now up and running
  • Session server creates the socket that the app will use for sending AV data and control respectively.

App'n Suspend Life cycle

draw.io Diagram
bordertrue
diagramNamesuspend
simpleViewerfalse
width600
linksauto
tbstyletop
lboxtrue
diagramWidth941
revision11

...

  • Initial approach was to run RialtoServer RialtoServerManager using systemd during the boot up sequence. 

View file
namerialto-servermanager.patch
height250

This approach had flaws as considering the fact that RialtoServer After further review it was decided RialtoServerManager shouldn't be started by service file directly.

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

...