srs: Support RTMP 302, support RTMP 302 redirection.
https://github.com/winlinvip/simple-rtmp-server/issues/92
If RTMP could support a 302 redirect, it would be more advantageous for CDN scheduling. Wowza returns a reject, and then the player redirects: http://developer.longtailvideo.com/trac/ticket/1876
Considering if it could be supported in NetConnection/NetStream, it would be more advantageous.
TRANS_BY_GPT3
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 21 (20 by maintainers)
Commits related to this issue
- for #369, support RTMP 302 api at protocol level. — committed to ossrs/srs by winlinvip 8 years ago
SRS can actually consider supporting multi-processes with this approach. As a solution, the master process specifies multiple addresses and redirects to other ports. This way, each process is completely independent, with high scalability and performance. It is also extremely simple.
To be specific:
TRANS_BY_GPT3