mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Player: Change the default from RTMP to HTTP-FLV.
This commit is contained in:
parent
5232f9e043
commit
6f66cf0868
6 changed files with 23 additions and 26 deletions
|
@ -247,9 +247,8 @@
|
|||
var query = parse_query_string();
|
||||
|
||||
// get the vhost and port to set the default url.
|
||||
// for example: http://192.168.1.213/players/srs_player.html?port=1935&vhost=demo
|
||||
// url set to: rtmp://demo:1935/live/livestream
|
||||
srs_init_rtmp("#txt_url");
|
||||
// url set to: http://localhost:8080/live/livestream.flv
|
||||
srs_init_flv("#txt_url");
|
||||
|
||||
if (query.autostart === "true") {
|
||||
$('#video_player').prop('muted', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue