1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

update jwplayer to support play HTTP flv.

This commit is contained in:
winlin 2015-05-23 19:22:37 +08:00
parent d63242b6e8
commit 93a1d097dc

View file

@ -123,6 +123,9 @@ function build_default_hls_url() {
port = 8080;
}
if (stream.indexOf(".flv") >= 0) {
return "http://" + server + ":" + port + "/" + app + "/" + stream;
}
return "http://" + server + ":" + port + "/" + app + "/" + stream + ".m3u8";
}