Skip to content

Instantly share code, notes, and snippets.

@dictcp
Last active August 4, 2020 08:11
Show Gist options
  • Save dictcp/09e12d385c1d08c6bbb391ebebe5e783 to your computer and use it in GitHub Desktop.
Save dictcp/09e12d385c1d08c6bbb391ebebe5e783 to your computer and use it in GitHub Desktop.
Setting up a local Wowza development environment
  1. Run local wowza instance (under trial license) via
docker run -d --name wowza --restart always \
  --publish 1935:1935 --publish 8086:8086 --publish 8087:8087 --publish 8088:8088 \
  --entrypoint /sbin/entrypoint.sh \
  wowzamedia/wowza-streaming-engine-linux:4.8.5
  1. Visit admin panel located at http://127.0.0.1:8088 (Username: wowza, password: wowza)

  2. Install ffmpeg via homebrew

brew install ffmpeg
  1. Setup a dummy video source and send to wowza streaming server
ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -vcodec libx264 -b:v 600k -r 25 -s 640x360 -f flv "rtmp://127.0.0.1/live flashver=FMLE/3.0 live=true pubUser=wowza pubPasswd=wowza playpath=stream3"
  1. View the stream at http://127.0.0.1:1935/live/stream3/playlist.m3u8 Either direct via Safari, or via http://players.akamai.com/hls/ for other browser

Remark

  1. A Wowza developer license can be obtained at https://www.wowza.com/media-server/developers/license (optional, but recommended for more complete feature like transcoding; however Live HTTP Origin requires a paid license)
  2. You need to enter the license obtained in admin panel.

Reference

https://www.wowza.com/docs/how-to-set-up-wowza-streaming-engine-using-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment