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 19:35:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a31ac3e25baab15d2398235f9af1d26baa5e92e
4a31ac3e
1 parent
e9ec22e6
filter the first non-virtual camera
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
trunk/research/players/srs_publisher.html
trunk/research/players/srs_publisher.html
查看文件 @
4a31ac3
...
...
@@ -43,6 +43,13 @@
for
(
var
i
=
0
;
i
<
cameras
.
length
;
i
++
)
{
$
(
"#sl_cameras"
).
append
(
"<option value='"
+
i
+
"'>"
+
cameras
[
i
]
+
"</option"
);
}
// optional: select the first no "virtual" signed.
for
(
var
i
=
0
;
i
<
cameras
.
length
;
i
++
)
{
if
(
cameras
[
i
].
toLowerCase
().
indexOf
(
"virtual"
)
==
-
1
)
{
$
(
"#sl_cameras option[value='"
+
i
+
"']"
).
attr
(
"selected"
,
true
);
break
;
}
}
$
(
"#sl_microphones"
).
empty
();
for
(
var
i
=
0
;
i
<
microphones
.
length
;
i
++
)
{
...
...
请
注册
或
登录
后发表评论