Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 1.31 KB

File metadata and controls

39 lines (24 loc) · 1.31 KB

The CDN Transcode Sample is an Open Visual Cloud software stack with all required open source ingredients well integrated to provide out-of-box simple transcode or CDN media transcode service, including live streaming and video on demand. It also provides docker-based media delivery software development environment upon which developer can easily build their specific applications.

Prerequisites:

The Sample assumes that you have a ready-to-use Kubernetes cluster environment with helm to manage the applicatoin deployment.

Build:

mkdir build
cd build
cmake ..
make

If you deploy the sample to a cluster, please configure the sample, as cmake -DREGISTRY=<registry-url> .., to push the sample images to the private docker registry after each build.


Create Shared Volumes:

make volume

The make volume command creates local persistent volumes under the /tmp directory of the first two Kubernetes workers. This is a temporary solution for quick sample deployment. For scalability beyond a two-node cluster, consider rewriting the mkvolume.sh script.

make volume uses scp to copy volumes to the Kubernetes workers, assuming that the Kubernetes master can password-less access to the Kubernetes workers.

Start/Stop Sample:

make start_helm
make stop_helm