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:
parent
d63242b6e8
commit
93a1d097dc
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ function build_default_hls_url() {
|
||||||
port = 8080;
|
port = 8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stream.indexOf(".flv") >= 0) {
|
||||||
|
return "http://" + server + ":" + port + "/" + app + "/" + stream;
|
||||||
|
}
|
||||||
return "http://" + server + ":" + port + "/" + app + "/" + stream + ".m3u8";
|
return "http://" + server + ":" + port + "/" + app + "/" + stream + ".m3u8";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue