Versions Compared

Key

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

...

  1. copy the lighting build app from dist folder.
  2. host build folder into any http server.
  3. test the hosted application in browser with help of url.on browser 

Image Added

Lighting refapp integration

  • Lighting refapp integration into rdk-generic-hybrid-image-raspberrypi:

  1. login to into raspberrypi : $ssh root@<<IP address>>
  2. cd /lib/rdk/
  3. add lighting refapp url into referenceApp.sh config file (/opt/residentapp.conf).need to update startup_app_conf variablevariable into referenceApp.sh config file 
    • startup_app_conf=/opt/residentapp.
    confexting url is
    • conf 

Image Added

4. add below line to avoid loading default app  

url="http://192.168.0.106:8080/"
echo $url

Image Added

5. replace exting url https://px-apps.sys.comcast.net/lightning_apps/SwitcherApp/dist/index.html in /opt/residentapp.conf

...

with 

...

lighting app

...

url which is hosted on server

...

for example your server providing url 

http://192.168.

...

56.

...

1:8080

...

Image Added

6. reboot the box .

...

Lighting application will launch instead of switcher app.



Dependencies

// TODO

  • Lightning RefApp on Accelerator

    • Uses lighting sdk media player to play video


Challenges

// TODO

  • Need to validate the playback of HLS/DASH source.


Note: lighting sdk media player has been used to verify video playback using mp4 stream Note: Currently video playback has been verified using mp4 stream