1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00
fcast/receivers/tizen
2025-02-20 01:47:52 -06:00
..
assets/icons Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00
FCastReceiver Fixing application name 2025-02-20 00:42:53 -06:00
FCastReceiverService Cleanup and initial submission changes 2025-02-20 00:09:24 -06:00
scripts Renaming build artifact instead 2025-02-20 01:47:52 -06:00
src Cleanup and initial submission changes 2025-02-20 00:09:24 -06:00
.gitignore Cleanup and initial submission changes 2025-02-20 00:09:24 -06:00
.gitlab-ci.yml Added Gitlab runner CI support for Tizen builds 2025-02-19 13:08:29 -06:00
Dockerfile Initial Tizen CI setup 2025-02-19 13:08:29 -06:00
eslint.config.mjs Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00
jest.config.js Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00
package-lock.json Cleanup and initial submission changes 2025-02-20 00:09:24 -06:00
package.json Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00
README.md Renaming build artifact instead 2025-02-20 01:47:52 -06:00
tsconfig.json Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00
webpack.config.js Initial TizenOS receiver commit 2025-02-19 13:08:29 -06:00

FCast Tizen OS Receiver

The FCast Tizen OS Receiver is split into two separate projects FCastReceiver for frontend UI and FCastReceiverService for the background network service. The WebOS receiver is supported running on TV devices from Tizen OS 5.0 and later.

The TV receiver player is using the same simplified player used in the webOS receiver implementation. Future versions might support a more advanced player like the Electron player since Tizen OS video player is less limited compared to webOS.

How to build

Preparing for build

A docker file is provided to setup your build environment. From the root of the repository:

  • Build:: docker build -t fcast/receiver-tizen-dev:latest receivers/tizen Run:
docker run --rm -it -w /app/receivers/tizen --env-file=./receivers/tizen/.env \
    --entrypoint='bash' -p 26099:26099 -p 26101:26101 -v .:/app \
    fcast/receiver-tizen-dev:latest

You can then run the following commands to finish setup inside the docker container.

npm install

For signing the build artifact you must export the following environment variables or set them in your .env file:

CERT_PATH=/app/receivers/tizen/PATH_TO_CERTS
CERT_IDENTITY=YOUR_IDENTITY
CERT_AUTHOR_PASSWORD=YOUR_PASSWORD
CERT_DIST_PASSWORD=YOUR_PASSWORD

Directory structure should be as follows for storing certificates:

  • Author certificates: $CERT_PATH/author/$CERT_IDENTITY/author.p12
  • Distributor certificates: $CERT_PATH/SamsungCertificate/$CERT_IDENTITY/distributor.p12

Build

To build the .wgt package run scripts/build.sh. Build artifact will be located at REPO_ROOT/receivers/tizen/FCastReceiver/.buildResult/FCastReceiver.wgt.