MyLive is a rtmp server java implementation for live streaming. It's not a full feature rtmp server,seek and play2 are not supported. Amf0 is the only supported amf version.
- Rtmp live stream push/pull(publish/play)
- Save published stream as flv file
- Http-Flv support
- Gop Cache as default
mvn package
java -jar mylive.jar
MyLive reads the configuration file "mylive.yaml" placed in the same folder as mylive.jar
Then you can push streams to rtmp://127.0.0.1/live/yourstream
Publishing Rtmp streams using FFMPEG/OBS and playing rtmp stream by VLC player had been already tested. http-flv is tested with bilibili/flv.js
When Mylive Server started, you can use ffmpeg to push your stream like this:
ffmpeg -re -i D:/ffmpeg/TearsOfSteel.mp4 -c copy -f flv rtmp://127.0.0.1/live/first
You should push your stream to :
Service : custom
Server : rtmp://127.0.0.1/live
Stream Key: first
- HLS support
- Support multiple bitrate,live format (eg HLS,DASH) with FFMPEG