This repository presents an example of nginx-vod-module + gcs-helper.
The configuration assumes that video files are under the folder "videos/" inside the bucket. So in order to run this locally, make sure you have a bucket with video files inside a "videos/" folder. For example, assuming you want to use a bucket name "test-gcs-helper" and the example files provided with nginx-vod-module-docker:
[ clone & cd into nginx-vod-module-docker ]
% gsutil mb gs://test-gcs-helper
% gsutil -m cp -r examples/videos gs://test-gcs-helper
(If you want to use a different bucket, make sure you update gcs_helper.env)
With the files in the correct place, use gcloud auth application-default login
to get the application credentials in the place expected by the
docker-compose, the run:
% docker-compose up
After that, HLS and DASH manifest will be available at the following locations: