Challenge Overview
Welcome to the Operation NGINX module suite of challenges.
In this challenge we'd like to make some changes to the NGINX module we built in previous challenges in this suite.
The module utilizes the VideoLAN libVLClibrary to transcode a source stream to a specified output format through VLC.
Requirements
- Convert the "pseudo-HLS" stream from a file based http redirect to a live stream.
- currently the code creates a local TS (transport stream) file and then http redirects the call to that file. This is causing undue latency (see: this line).
- Instead of a file and redirect, we'd like feed the transcoded stream directly to the client.
- We believe this can be accomplished by changing the VLC options. See this lineand this VLC options
- NOTE: We do NOT want a file based solution! We want to feed the transcoded stream LIVE back to the client with as little delay as possible.
- Make sure the updated code still works on both Ubuntu and Heroku
- Deploy a working instance on Heroku's Cedar-14 stack. This is the equivalent of Ubuntu 14.04
Final Submission Guidelines
Versions & Environments
- NGINX Version: 1.5.7
- VLC version 2.1.5
- Ubuntu 14.04
- Deployable to Heroku Cedar-14 stack
Reading Material
- NGINX
- NGINX modules
- libVLC
- Using libVLC
- [Heroku NGINX Buildpack](Heroku NGINX Buildpack)
Setup
- Send an email to lazybaer or wendell or post in the forums to request to be added to the Operation NGINX team on gitlab if you are not already a member
- Once added to the team, fork the repository, if you haven’t already, and work off of the [30048022-pseudoHLSTweaksbranch](https://gitlab.com/team-autobots/operation-nginx/tree/30048022-pseudoHLSTweaksbranch
- Add wendell and lazybaer as members of your forked repository.