diff options
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index ccbf41f3b8..6a597d94fa 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1299,6 +1299,12 @@ static int http_parse_request(HTTPContext *c) } } + /* If already streaming this feed, dont let start an another feeder */ + if (stream->feed_opened) { + snprintf(msg, sizeof(msg), "This feed is already being received."); + goto send_error; + } + if (c->post == 0 && stream->stream_type == STREAM_TYPE_LIVE) { current_bandwidth += stream->bandwidth; } |