PhysicalGraph / STAVPlay

GNU Lesser General Public License v2.1
5 stars 3 forks source link

stavplay

Samsung Tizen NaCl player for low latency live streaming of RTSP streams.

prerequisites

Feel free to ignore anything related to sectv-orsay in the following links.

libraries

Download/update compiled libraries from S3:

./update_libs.sh

cert

Create a cert in the IDE according to the instructions above. I named mine smartthings which is used in the following examples. For the command line tools to sign the wgt you must tell it where to find the profiles.xml file. This file is tpyically found in your IDE workspace directory.

alias tizen=~/tizen-sdk/tools/ide/bin/tizen
# add profiles.xml as global default
tizen cli-config -g default.profiles.path=~/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml
# check to make sure your cert is listed
tizen security-profiles list

build

The build can take several minutes. Set V=1 for verbose output.

You may need to refresh the project view to see newly built objects in the IDE.

CERT=smartthings make

emulator

The emulator does not support most sdb commands. To run on the emulator you must use the IDE.

Import the project.

Create a run profile.

To run, right click on the project or wgt file and select Run as > Widget on a Tizen device.

tv

You'll need to know the application package name and ID which can both be found in the config.xml.

Example:

<tizen:application id="CX14UW0j9o.STAVPlay" package="CX14UW0j9o" required_version="2.3"/>

Installation:

sdb connect 192.168.250.250:26101
sdb root on
sdb uninstall CX14UW0j9o
sdb install stavplay.wgt

Launch the widget:

sdb shell wrt-launcher -s CX14UW0j9o.STAVPlay

Stop the widget:

sdb shell wrt-launcher -k CX14UW0j9o.STAVPlay

View all logging information related to the widget:

sdb dlog *:* | grep STAVPlay

licensing

STAVPlay is licensed under the LGPL 2.1 (see LICENSE). This project contains code from Samsung's NativePlayer sample (see LICENSE_SAMSUNG). Please check the third/include/lib*/LICENSE file for license information of the respective 3rd party libraries (requires downloading the libraries).