Wiki
Usage
Start backend server:
python research/api-server/server.py 8085
Start master SRS enables forwarding with backend:
./objs/srs -c conf/forward.backend.conf
Start slave SRS server, to which forward by master:
./objs/srs -c conf/forward.slave.conf
Publish to master by FFmpeg:
./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.flv -c copy -f flv rtmp://127.0.0.1:1935/live/livestream
Play the stream:
- Master SRS:
rtmp://127.0.0.1:1935/live/livestream
- Slave SRS:
rtmp://127.0.0.1:19350/test/teststream
Note that you could change the backend urls by:
|
forwards = ["rtmp://127.0.0.1:19350/test/teststream"] |
TRANS_BY_GPT3