Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2013-12-22 01:11:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c325261f7137618c1834d4eaf9365cc6bc71d86
4c325261
1 parent
dd5aa36b
add low latecy player
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
trunk/research/players/srs_publisher.html
trunk/research/players/srs_publisher.html
查看文件 @
4c32526
...
...
@@ -154,13 +154,17 @@
srs_player_url
+=
"vhost="
+
srs_get_player_publish_vhost
(
ret
.
vhost
)
+
"&port="
+
ret
.
port
+
"&app="
+
ret
.
app
+
"&stream="
+
ret
.
stream
;
srs_player_url
+=
"&autostart=true"
;
var
srs_player_rt_url
=
"http://"
+
query
.
host
+
query
.
dir
+
"/srs_player.html?"
;
srs_player_rt_url
+=
"vhost="
+
ret
.
vhost
+
"&port="
+
ret
.
port
+
"&app="
+
ret
.
app
+
"&stream="
+
ret
.
stream
;
srs_player_rt_url
+=
"&autostart=true"
;
var
jwplayer_url
=
"http://"
+
query
.
host
+
query
.
dir
+
"/jwplayer6.html?"
;
jwplayer_url
+=
"vhost="
+
srs_get_player_publish_vhost
(
ret
.
vhost
)
+
"&port="
+
ret
.
port
+
"&app="
+
ret
.
app
+
"&stream="
+
ret
.
stream
;
jwplayer_url
+=
"&hls_autostart=true"
;
var
hls_url
=
"http://"
+
ret
.
server
+
":"
+
query
.
http_port
+
"/"
+
ret
.
app
+
"/"
+
ret
.
stream
+
".m3u8"
;
$
(
"#txt_play_realtime"
).
text
(
"RTMP低延时(点击打开)"
).
attr
(
"href"
,
url
).
attr
(
"target"
,
"_blank"
);
$
(
"#txt_play_realtime"
).
text
(
"RTMP低延时(点击打开)"
).
attr
(
"href"
,
srs_player_rt_
url
).
attr
(
"target"
,
"_blank"
);
$
(
"#txt_play_url"
).
text
(
"RTMP已转码(点击打开)"
).
attr
(
"href"
,
srs_player_url
).
attr
(
"target"
,
"_blank"
);
$
(
"#txt_play_hls"
).
text
(
"HLS-m3u8(点击打开或右键复制)"
).
attr
(
"href"
,
hls_url
).
attr
(
"target"
,
"_blank"
);
$
(
"#txt_play_jwplayer"
).
text
(
"HLS-JWPlayer(点击打开)"
).
attr
(
"href"
,
jwplayer_url
).
attr
(
"target"
,
"_blank"
);
...
...
请
注册
或
登录
后发表评论