live media server solution powered by adobe media server and docker consist of 4 components app server, file server for storage, encode server, ams.
this is the technical experiment for future reference
docker and docker-compose
- build the go-ffmpeg docker image int the go-ffmpeg dir
docker build -t go-ffmpeg .
- change the ams/sample/videoPlayer/videoPaly.html content of ip addr to your own host local ip
- run
docker-compose up -d
in the cli - set the browser to allow cors and open ams/sample/videoPaly/videoPlayer.html in the browser
- click the upload button and select a video file to upload
- wait a moment, the video can play in the flash player
- use the address show in the page generated by the backend, you can adjust it to play the video in iphone or android(see help in the client dir)