1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

SquashSRS4: Add console. Disable cherrypy by default.

This commit is contained in:
winlin 2021-04-24 19:45:05 +08:00
parent c95bfc4a46
commit d4a8a72388
62 changed files with 38537 additions and 111 deletions

View file

@ -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);