ossrs/srs

[Confusing] FLV continue

Closed this issue · 0 comments

Hi friends!

I have a simple question. When you're playing FLV and the stream restarts, is it possible to make it continue? It doesn't create 500 HTTP connections again. But when the stream stops, the HTTP connection ends (in flvjs player error EOF). This is unnecessary overhead for processing connections (HTTP server) and for the SRS server.

Let me also ask a second question right away: is it possible to do the opposite, if the stream is inactive, but return a HTTP 404 status instead of subscribing and waiting forever? Should I maintain, say, 500 connections for this, rather than if the stream is never active and doesn't exist at all?