Playing with usp origin to see if I can failover to an identical packager using docker containers and nginx load balancer.
- export your UspLicenseKey
export UspLicenseKey=<you can request unified streaming for a trial license key for 7 days>
- add
origin.test
to your/etc/hosts
file - run the stack
docker compose up
- wait a minute
- visit shaka-player
- make sure you enable insecure content (as we don't use
https
) for this
- try killing
origin-1
packager from your docker dashboard. You should see no interruption in playback. You will notice that the active container id change - try turning
origin-1
back up. You should see the opposite of step 1 happen but it will take 60s as nginx config waits for 60s before tryingorigin-1