The core idea of this proyect is to offload video transcoding from an NGNIX-RTMP server to AWS Medialive, replacing FFMPEG for transcoding and reducing server load from NGINX server.
NGINX RTMP: https://github.com/arut/nginx-rtmp-module
- Install Nginx with rtmp module.
- Git clone Autolive into preferred dir.
- Set AWS details in conf.py.
- Simlink autolive to /usr/local/bin/autolive.
- Change nginx.conf to trigger autolive. (using nginx-rtmp exec options)
- DynamoDB table that defines channel details. (schema comming soon)
- s3 bucket for AWS medalive outputs.
- CDN distribution. (optional)
- '-s', '--streamkey' --> (string) | Define streamkey. Streamkey should reference dynamodb table.
- '-a', '--action' --> (string) | Define what action to perform: 'create', 'delete'.
- '-A', '--application' --> (string) | manually define Nginx rtmp application, default 'live'.
ATM only pull channels are supported. Lots of improvment needed but core functionality is working.