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
2015-12-01 10:42:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eec2c34b5c052cce4a354101c6e1683161d78e4c
eec2c34b
1 parent
cfe23043
refine publisher.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
trunk/research/players/srs_publisher.html
trunk/research/players/srs_publisher.html
查看文件 @
eec2c34
...
...
@@ -46,6 +46,9 @@
发布地址:
<input
type=
"text"
id=
"txt_url"
class=
"input-xxlarge"
value=
""
></input>
<button
class=
"btn btn-primary"
id=
"btn_publish"
>
发布视频
</button>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
id=
"cb_preview"
checked
>
预览
</label>
</div>
</div>
<div
class=
"control-group"
>
...
...
@@ -446,6 +449,10 @@
info
(
"开始推流到服务器"
);
srs_publisher
.
publish
(
url
,
vcodec
,
acodec
);
if
(
!
$
(
"#cb_preview"
).
is
(
":checked"
))
{
return
;
}
if
(
realtime_player
)
{
// directly play the url for the realtime player.
realtime_player
.
stop
();
...
...
请
注册
或
登录
后发表评论