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-21 20:13:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ec29cc0925ffdad604be51af4787235a69a3377a
ec29cc09
1 parent
825215f7
refine the publish url.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/research/players/srs_publisher.html
trunk/research/players/srs_publisher.html
查看文件 @
ec29cc0
...
...
@@ -34,7 +34,6 @@
// for publish, we use randome stream name.
$
(
"#txt_url"
).
val
(
$
(
"#txt_url"
).
val
()
+
"."
+
new
Date
().
getTime
());
update_play_url
();
// start the publisher.
srs_publisher
=
new
SrsPublisher
(
"local_publisher"
,
430
,
185
);
...
...
@@ -148,6 +147,7 @@
if
(
$
(
"#btn_publish"
).
text
()
==
"停止发布"
)
{
srs_publisher
.
stop
();
$
(
"#btn_publish"
).
text
(
"发布视频"
);
$
(
"#txt_play_url"
).
text
(
"请发布视频"
).
attr
(
"href"
,
"#"
);
return
;
}
...
...
@@ -233,7 +233,7 @@
<div
class=
"control-group"
>
<div
class=
"form-inline"
>
观看地址:
<a
id=
"txt_play_url"
class=
"input-xxlarge"
href=
"
srs_player.html"
>
srs_player.html
</a>
<a
id=
"txt_play_url"
class=
"input-xxlarge"
href=
"
#"
>
请发布视频
</a>
</div>
</div>
<div
id=
"video_modal"
class=
"modal hide fade"
>
...
...
请
注册
或
登录
后发表评论