Open ziyue7575 opened 2 years ago
It seems to be a port parsing and matching error, it is a bug.
The transcode of SRS is a running FFmpeg process, you can start the FFmpeg process yourself to bypass this issue.
TRANS_BY_GPT3
4.0 does have this problem. The rtmp streaming is normal, but when webrtc streaming, the transcode port for pushing rtmp is 1990, which is incorrect.
TRANS_BY_GPT3
Welcome to submit a patch.
TRANS_BY_GPT3
Description
Using webrtc for streaming, set the http_server port to 18080, webrtc://192.168.3.33:18080/aaa?vhost=sqve1/ccc When forwarding rtmp, use port 18080 for the rtmp address instead of the rtmp port.
SRS Version:
xxxxxx
SRS Log:
Replay (重现)
When using WebRTC for streaming, the port used for forwarding the stream is the same as the one used for WebRTC streaming, rather than the RTMP port configured in SRS.
Expect (Desired Behavior) When transcoding, automatically detect the RTMP port for forwarding.
TRANS_BY_GPT3