正在显示
2 个修改的文件
包含
3 行增加
和
4 行删除
| @@ -345,6 +345,7 @@ Remark: | @@ -345,6 +345,7 @@ Remark: | ||
| 345 | 345 | ||
| 346 | ## History | 346 | ## History |
| 347 | 347 | ||
| 348 | +* v2.0, 2017-01-10, refine hls html5 video template. | ||
| 348 | * v2.0, 2017-01-10, fix [#635][bug #635], hls support NonIDR(open gop). 2.0.226 | 349 | * v2.0, 2017-01-10, fix [#635][bug #635], hls support NonIDR(open gop). 2.0.226 |
| 349 | * v2.0, 2017-01-06, for [#730][bug #730], reset ack follow flash player rules. 2.0.225 | 350 | * v2.0, 2017-01-06, for [#730][bug #730], reset ack follow flash player rules. 2.0.225 |
| 350 | * v2.0, 2016-12-15, for [#513][bug #513], remove hls ram from srs2 to srs3+. 2.0.224 | 351 | * v2.0, 2016-12-15, for [#513][bug #513], remove hls ram from srs2 to srs3+. 2.0.224 |
| @@ -499,10 +499,8 @@ fi | @@ -499,10 +499,8 @@ fi | ||
| 499 | function write_nginx_html5() | 499 | function write_nginx_html5() |
| 500 | { | 500 | { |
| 501 | cat<<END > ${html_file} | 501 | cat<<END > ${html_file} |
| 502 | -<video width="640" height="360" | ||
| 503 | - autoplay controls autobuffer | ||
| 504 | - src="${hls_stream}" | ||
| 505 | - type="application/vnd.apple.mpegurl"> | 502 | +<video autoplay controls autobuffer type="application/vnd.apple.mpegurl" |
| 503 | + src="${hls_stream}"> | ||
| 506 | </video> | 504 | </video> |
| 507 | END | 505 | END |
| 508 | } | 506 | } |
-
请 注册 或 登录 后发表评论