Rialto is currently enabled on both stable2 and sprint branches, but an old version of it might be used by default. To build include the Rialto's HEAD into latest version of Rialto in the image, one needs to add "rialto_head"to DISTRO_FEATURESof in the Yocto build.
Rialto is already integrated into appsserviceAppService. To enable rialto connection from use Rialto in the widgetto the RialtoServer, one needs to add "rialto" capability in the widget's config.xml file. Once this is set, AppService will include all the needed Rialto resources, and RialtoClient will be able to connect to RialtoServer.
If RialtoClient↔RialtoServer connection is possible, rialto-gstreamer sinks will be added into gst-registry of the gstreamer application when gst_init is called by the client application.
To add content decryption with rialto, change the linked library from libocdm.so to libocdmRialto.so.