Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.28 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.28 KB

Simple Elemental Video

Deploy a simple aws video pipeline

Cloudformation Docs

MediaConnect

MediaLive

MediaPackage

Prerequisites

Login to Your Aws Account

You can set the environment variables manually or

eval "$(aws configure export-credentials --profile your-profile-name --format env)"

Export a region

export AWS_REGION=eu-west-1

Run Everything at Once

For security, we whitelist your public ip on mediaconnect, which means if you have a carrier NAT, you might not be able to push video, in that case, change this to 0.0.0.0/0

Run the following command from the terminal

make deploy

This should print a playback url

Playback

You can use hls.js to playback your video or run the following command to get a prepared url

make print-hls-playback-url

Destroy Everything

Run the following command from the terminal

make destroy