Skip to content

Forward: Fetch the URL to forward from a backend, dynamic forwarding, on-demand forwarding, forwarding Hook. #1342

@ArvinRokni

Description

@ArvinRokni

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

Metadata

Metadata

Assignees

Labels

FeatureIt's a new feature.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions