Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
3f7d1a56
提交
3f7d1a56
authored
12月 04, 2015
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-8617 #resolve [Add gain and vol seperate to verto]
上级
28bd6e2e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
25 行增加
和
14 行删除
+25
-14
jquery.verto.js
html5/verto/js/src/jquery.verto.js
+25
-14
verto-min.js
html5/verto/video_demo/js/verto-min.js
+0
-0
没有找到文件。
html5/verto/js/src/jquery.verto.js
浏览文件 @
3f7d1a56
...
...
@@ -1352,23 +1352,22 @@
};
$
.
verto
.
conf
.
prototype
.
volumeDown
=
function
(
memberID
)
{
if
(
!
this
.
params
.
hasVid
)
{
throw
'Conference has no video'
;
}
this
.
modCommand
(
"volume_in"
,
parseInt
(
memberID
),
"down"
);
this
.
modCommand
(
"volume_out"
,
parseInt
(
memberID
),
"down"
);
};
$
.
verto
.
conf
.
prototype
.
volumeUp
=
function
(
memberID
)
{
if
(
!
this
.
params
.
hasVid
)
{
throw
'Conference has no video'
;
}
this
.
modCommand
(
"volume_out"
,
parseInt
(
memberID
),
"up"
);
};
$
.
verto
.
conf
.
prototype
.
gainDown
=
function
(
memberID
)
{
this
.
modCommand
(
"volume_in"
,
parseInt
(
memberID
),
"down"
);
};
$
.
verto
.
conf
.
prototype
.
gainUp
=
function
(
memberID
)
{
this
.
modCommand
(
"volume_in"
,
parseInt
(
memberID
),
"up"
);
};
$
.
verto
.
conf
.
prototype
.
transfer
=
function
(
memberID
,
exten
)
{
if
(
!
this
.
params
.
hasVid
)
{
throw
'Conference has no video'
;
}
this
.
modCommand
(
"transfer"
,
parseInt
(
memberID
),
exten
);
};
...
...
@@ -1498,8 +1497,10 @@
var
tvpresenter_id
=
"tvpresenter_"
+
x
;
var
tvfloor_id
=
"tvfloor_"
+
x
;
var
box_id
=
"box_"
+
x
;
var
volup_id
=
"volume_in_up"
+
x
;
var
voldn_id
=
"volume_in_dn"
+
x
;
var
gainup_id
=
"gain_in_up"
+
x
;
var
gaindn_id
=
"gain_in_dn"
+
x
;
var
volup_id
=
"vol_in_up"
+
x
;
var
voldn_id
=
"vol_in_dn"
+
x
;
var
transfer_id
=
"transfer"
+
x
;
...
...
@@ -1509,6 +1510,8 @@
html
+=
"<button class='ctlbtn' id='"
+
kick_id
+
"'>Kick</button>"
+
"<button class='ctlbtn' id='"
+
tmute_id
+
"'>Mute</button>"
+
"<button class='ctlbtn' id='"
+
gainup_id
+
"'>Gain -</button>"
+
"<button class='ctlbtn' id='"
+
gaindn_id
+
"'>Gain +</button>"
+
"<button class='ctlbtn' id='"
+
voldn_id
+
"'>Vol -</button>"
+
"<button class='ctlbtn' id='"
+
volup_id
+
"'>Vol +</button>"
+
"<button class='ctlbtn' id='"
+
transfer_id
+
"'>Transfer</button>"
;
...
...
@@ -1640,14 +1643,22 @@
});
}
$
(
"#"
+
vol
up_id
).
click
(
function
()
{
$
(
"#"
+
gain
up_id
).
click
(
function
()
{
confMan
.
modCommand
(
"volume_in"
,
x
,
"up"
);
});
$
(
"#"
+
vol
dn_id
).
click
(
function
()
{
$
(
"#"
+
gain
dn_id
).
click
(
function
()
{
confMan
.
modCommand
(
"volume_in"
,
x
,
"down"
);
});
$
(
"#"
+
volup_id
).
click
(
function
()
{
confMan
.
modCommand
(
"volume_out"
,
x
,
"up"
);
});
$
(
"#"
+
voldn_id
).
click
(
function
()
{
confMan
.
modCommand
(
"volume_out"
,
x
,
"down"
);
});
return
html
;
}
...
...
html5/verto/video_demo/js/verto-min.js
浏览文件 @
3f7d1a56
This diff was suppressed by a .gitattributes entry.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论