update jwplayer to support play HTTP flv.
This commit is contained in:
parent
d63242b6e8
commit
93a1d097dc
|
|
@ -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 New Issue
Block a user