Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: In order to learn the IP address of your VM, use the RDK Browser application “tab” key to navigate to "Device Info" which will provide you the IP address. Press "Enter" key to enter Device Info


Closedcaption support in RDK Emulator

1)Boot the VM in NAT mode and ssh in to the VM to get the console.

ex: ssh -p 3022 root@localhost

2)To check the closedcaption in rmfapp start the rmfapp and launch a video as shown below

ex: cd /usr/bin; ./rmfApp

rmfApp->launch -source hnsource -sink mediaplayersink http://127.0.0.1:50050/received_spts1.ts

now you will be able to see ccdata displayed on sccsreen

Image Added

3)To enable or disable closedcaption rendering in rmfApp user “e” or “enable” to enable closedcaption and “d” or “disable” to disable the closedcaption

ex: rmfApp->d

expexted output: closedcaption rendering should stop on screen.

Image Added


To enable closedcaption again type the command "e" as shown below.

rmfApp->e

expected output: Closedcaption rendering should start on screen

Image Added

4)To show and hide the closedcaption after enabling the cc rendering user “s” or “show” tp show the cc window and “h” or “hide” to hide the cc window

example: rmfApp->h

expected output: CC window should not be visible on screen

Image Added

To show the closedcaption again type the command "s" in rmfapp as shown below.

rmfApp->s

expected output: CC window should be visible on screen.

Image Added

5)To pause and play the video after launching the video as shown below

ex: rmfApp->launch -source hnsource -sink mediaplayersink http://127.0.0.1:50050/received_spts1.ts

rmfApp->p (To Pause the video)

expected output: Stop the playing video also closedcaption rendering should stop

Image Added

To resume the video paused type the command "p" again in rmfapp as shown below.

rmfApp->p (To play the video)

expected output: Video playing should resume and closedcaption rendering aswell.

Image Added

6)To test for the video playing with tsb do as shown below.

Ex: rmfApp-> launch -source hnsource -sink mediaplayersink -tsb http://127.0.0.1:8080/vldms/tuner?ocap_locator=ocap://0x125d&tsb=60

rmfApp->p (to pause the video)

expected output: The video playing should stop and cc rendering aswell.

Image Added

rmfApp->l (to switch to live)

expected output: Video should switch back to live and cc rendering should resume

Image Added

7)Checking closedcaptioning in recorded content. 

After recording the video using the method provided in the above link using rmfApp try to play the recorded content.

Ex: To view the recording list

rmfApp-> l

expected output : To show the list.

total Space: 1886208000 bytes

free Space: 358744064 bytes

number of recordings= 1

-------------------------------------

recording 0 id 30 title "Recording_tile"

-------------------------------------

Image Added

Now play the recorded content as shown below.

RmfApp->launch -source dvrsource -sink mediaplayersink dvr://local/30

expected output: Recording content should play along with closedcaption rendering.

Image Added

Note: To play the recorded content use dvr://local/id where id is the recordingid.

8) To exit from the rmfApp first kill the running proccess and then press q to quit

Ex: rmfApp->kill 1

rmfApp->q

Bringing up the Emulator on VMWare Player

...

Install VMplayer in Host Machine

Use the below Link download to install VMware Player on host

https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0|PLAYER-504|product_downloads

After downloading

sudo ./VMware-Player-<Version>.bundle (LInux OS)

Run  VMware-Player-<Version>.exe  (Windows OS)


Reason for VMplayer: in Mesa Higher versions EGL-PLATFORM fbdev is not available as it is deprecated so we tried using DRM (Direct Rendering Manager driver for graphics)

for DRM driver is available only in vmware only (vmwgfx so we have gone for VMware Player)
 

Steps to bring up RDK Emulator on VMware Player

1        Once VMware Player is installed, open the VMWare Player  using the command

vmplayer &  or open using GUI

2       Click File --> Create a New Virtual Machine --> Select  'i will install my operating system later' --> click Next

3       Select 'Linux' --> Version  'Other Linux 3.x kernel' --> Click Next --> Give name --> Click Next

4       Maximum Disk Size : 8 Gb --> Select 'Store Virtual Disk as a Single File' --> Click Next --> Memory for this Virtual Machine '512 Mb' --> Click 'Close'  --> Click  'Finish'

5       Click 'Edit virtual machine settings' --> select Hard Disk (IDE) --> Click 'Remove'   -->Click  'Add'  --> Select Hard Disk  --> Select  'Use existing Virtual Hard disk'

6       File browse and set the path to the *.vmdk  file --> Click Finish --> Click 'Keep Existing Format'

7       Network Adapter select Bridge Adapter  --> Click Save

8       Click Play Virtual Machine

         Cannot connect the virtual device ide1:0 because no corresponding device is available on the host.
         Do you want to try to connect this virtual device every time you power on the virtual machine? [YES] [NO]

          You select [NO]

9       This will bring the emulator up with the initial splash screen followed by RDK-Browser as startup application.

*** Note :  No support for Shared Folder.

step 1:

Image Modified


Step 2:

Image Modified

Step3:

Image Modified

Step 4:

Image Modified

Step 5:

Image Modified


Click 'Save'  --> Click  'Finish'

Click 'Edit virtual machine settings' --> select Hard Disk (IDE) --> Click 'Remove'   -->Click  'Add'  --> Select Hard Disk  --> Select  'Use existing Virtual Hard disk'


Step 6:

Image Modified

Step 7:

Image Modified

Step 8:

Image Modified

Step 9:

Image Modified

Step 10:

Image Modified

Step 11:

Image Modified

step 12:

Image Modified


Applications testing over westeros Compositor


WPELauncher  (wpewebkit default browing Application)

1) ssh login to the Emulator

   systemctl stop wpe-launcher ( this will stop the wpe-webkit browser

to launch any url through wpe launcher use this script sh startWPE.sh

ex:

sh startWPE.sh http://www.easyhtml5video.com

sh startWPE.sh http://www.google.com


PXSCENE Support Test Procedure in Emulator

...

for using morty emulator WPE image we can validate pxscene examples in emulator

Pxscene works over the wayland compositor (westeros compositor)


Before launching pxscene examples need to export these parameters and run pxscene examples

$ export XDG_RUNTIME_DIR=/run/user/0/
$ export WAYLAND_DISPLAY=WPE
Example 1 :
$ ./pxscene ( will launch default browser.js)
Example 2 :
$ ./pxscene http://www.pxscene.org/examples/px-reference/gallery/fancy.js
Example 3 :
$ ./pxscene http://www.pxscene.org/examples/px-reference/gallery/gallery.js
Example 4 :
$ ./pxscene http://www.pxscene.org/examples/px-reference/gallery/picturepile.js


Please find screen shots attached

  1. Browser.js

Image Modified

2.Fancy.js


Image Modified


Gallery.js

Image Modified

Picturepile.js


Image Modified


RDKBROWSER2 Support Test Procedure in Emulator

...

for using morty emulator WPE image we can validate rdkbrowser2 examples in emulator

works over the wayland compositor (westeros compositor)


For testing rdkbrowser2

$ export XDG_RUNTIME_DIR=/run/user/0/
$ export WAYLAND_DISPLAY=WPE
 
 Example 1 :
$ ./rdkbrowser2 ( will launch http://www.example.com)
Example 2 :
$ ./rdkbrowser2 --url http://www.google.com
Example 3 :
$ ./rdkbrowser2 --url http://www.youtube.com/tv
Example 4 :
$ ./rdkbrowser2 --url http://www.easyhtml5video.com
 
Note: Video performance is gittery in emulator with westerosink ( software of emulator
WEBBGL related urls not suported as graphics GPU available in the VMplayer is having limitation
with 3d graphics renderering
 
  

Cursor will work with rdkbrowser2

Ex: Picture-1 google.com

Image Modified


Ex 2: Youtube.com playback with westeros-sink

Image Modified


Ex 3 easyhtml5video.com

Image Modified