Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
liveAssistant_web_demo
转到一个项目
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
胡斌
6 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5b67b90e585060d278ce3cfcddba196fd6f4d237
5b67b90e
1 parent
73a8abc1
rename the parameter string of agora enter channel and screen share
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
demo.html
demo.html
查看文件 @
5b67b90
...
...
@@ -1192,34 +1192,34 @@
var
param
=
""
;
var
appid
=
document
.
getElementById
(
"app_id"
).
value
;
if
(
appid
.
length
>
0
)
{
param
+=
"
AppID
="
;
param
+=
"
appid
="
;
param
+=
appid
;
}
var
token
=
document
.
getElementById
(
"token"
).
value
;
if
(
token
.
length
>
0
)
{
param
+=
"
T
oken="
;
param
+=
"
t
oken="
;
param
+=
token
;
}
var
chname
=
document
.
getElementById
(
"channel_name"
).
value
;
if
(
chname
.
length
>
0
)
{
param
+=
"
C
hannel="
;
param
+=
"
c
hannel="
;
param
+=
chname
;
}
var
uid
=
document
.
getElementById
(
"uid"
).
value
;
if
(
uid
.
length
>
0
)
{
param
+=
"
UID
="
;
param
+=
"
uid
="
;
param
+=
uid
;
}
if
(
document
.
getElementById
(
"channel_profile"
).
checked
==
true
)
{
param
+=
"
L
ive=1"
;
param
+=
"
l
ive=1"
;
}
var
enc_secret
=
document
.
getElementById
(
"enc_secrete"
).
value
;
if
(
enc_secret
.
length
>
0
)
{
param
+=
"
S
ecrete="
;
param
+=
"
s
ecrete="
;
param
+=
enc_secret
;
var
enc_mode
=
document
.
getElementById
(
"enc_mode"
);
var
index
=
enc_mode
.
selectedIndex
;
param
+=
"
EncM
ode="
;
param
+=
"
encm
ode="
;
param
+=
enc_mode
.
options
[
index
].
text
;
}
cmd
.
data
=
utf16to8
(
param
);
...
...
@@ -1234,12 +1234,12 @@
var
param
=
""
;
var
asc_region
=
document
.
getElementById
(
"asc_region"
).
value
;
if
(
asc_region
.
length
>
0
){
param
+=
"
R
ect="
;
param
+=
"
r
ect="
;
param
+=
asc_region
;
}
var
fps
=
document
.
getElementById
(
"asc_fps"
).
value
;
if
(
fps
.
length
>
0
)
{
param
+=
"
F
ps="
;
param
+=
"
f
ps="
;
param
+=
fps
;
}
cmd
.
data
=
utf16to8
(
param
);
...
...
请
注册
或
登录
后发表评论