ossrs/srs

The process of retrieving the data stream has failed, resulting in a redirection from the first source to the same initial source.

Closed this issue · 1 comments

version: 6.0.155

  1. publishing stream succ
  2. redirect from origin0 to origin1
  3. playing on origin1, new live source again
  4. fali to pull stream

Version 5.0.xx does not exhibit this issue, however, version 5.0.xx is experiencing a memory leak problem.
here is the log of origin1, it seems nothing wrong, but can't pull the stream

Image

TRANS_BY_GPT4

The legacy origin cluster (MESH-based with origin_cluster on and coworkers) has been deprecated starting from SRS 7.0 and is no longer maintained. This is the root cause of the redirect loop issue you're experiencing.

Please migrate to the new proxy-based origin cluster, which uses a Go proxy server for load balancing and eliminates these redirect issues. The new architecture is more robust and supports all protocols (RTMP/WebRTC/SRT/HLS/HTTP-FLV).

Documentation: