Samsung Tizen NaCl player for low latency live streaming of RTSP streams.
Feel free to ignore anything related to
sectv-orsay
in the following links.
- Install the Tizen SDK
- Add command line tools to path
- Creating an emulator
- Getting a certificate
- Installing certificate in the emulator
- Setup the web development environment
Download/update compiled libraries from S3:
./update_libs.sh
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
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
The emulator does not support most sdb
commands. To run on the emulator you must use the IDE.
Import the project.
- Open the Tizen IDE
- Click
File > Import > General > Existing Projects into Workspace
- Click
Next
- Make sure the radio button says
Select root directory
and clickBrowse
- Navigate to
STAVPlay
and clickOpen
- Under projects,
STAVPlay
should be automatically selected - Click
Open
Create a run profile.
- Click
Run > Run configurations
- Right click
Tizen Device
and selectNew
- Set
Widget file
to<path to>/STAVPlay/stavplay.wgt
- Uncheck
Create the widget before launch
- Select a target device ( this will be automatically filled if the emulator is running )
- Click
Run
To run, right click on the project or wgt file and select Run as > Widget on a Tizen device
.
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
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).