diff --git a/rtmp/nginx.conf b/rtmp/nginx.conf index d22fe75..0f2b64b 100644 --- a/rtmp/nginx.conf +++ b/rtmp/nginx.conf @@ -88,7 +88,9 @@ http { location /flv { flv_live on; - add_header Access-Control-Allow-Origin *; + chunked_transfer_encoding on; #open 'Transfer-Encoding: chunked' response + add_header 'Access-Control-Allow-Origin' '*'; #add additional HTTP header + add_header 'Access-Control-Allow-Credentials' 'true'; #add additional HTTP header } error_page 500 502 503 504 /50x.html;