mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
15d87537a1
commit
b04888a35d
3 changed files with 48 additions and 4 deletions
|
@ -304,7 +304,7 @@ int SrsLiveStream::serve_http(ISrsGoHttpResponseWriter* w, SrsHttpMessage* r)
|
|||
// TODO: FIMXE: add pithy print.
|
||||
|
||||
// write http header for streaming.
|
||||
w->header()->set_content_length((int64_t)2 * 1024 * 1024 * 1024);
|
||||
// use chunked encoding, for we donot specifes the content length.
|
||||
if (serve_flv_streaming) {
|
||||
w->header()->set_content_type("video/x-flv");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue