Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
李勇
/
McuClient
转到一个项目
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
李勇
2017-08-13 13:56:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0c850f29170e575114808a25e3b0eb41e0ae034
c0c850f2
1 parent
b461b205
修改麦克风和扬声器的默认值
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
src/EngineEntrance.js
src/GlobalConfig.js
src/EngineEntrance.js
查看文件 @
c0c850f
...
...
@@ -58,7 +58,7 @@ export default class MessageEntrance extends Emiter {
constructor
()
{
super
();
//sdk 信息
GlobalConfig
.
sdkVersion
=
"v1.7
0.5.20170812
"
;
GlobalConfig
.
sdkVersion
=
"v1.7
1.0.20170813
"
;
loger
.
warn
(
"sdkVersion:"
+
GlobalConfig
.
sdkVersion
);
//设置
...
...
@@ -325,10 +325,10 @@ export default class MessageEntrance extends Emiter {
GlobalConfig
.
microphones
=
_data
.
microphones
||
[];
GlobalConfig
.
videoQuality
=
parseInt
(
_data
.
videoQuality
);
GlobalConfig
.
curVideoQuality
=
parseInt
(
_data
.
curVideoQuality
);
GlobalConfig
.
micGain
=
_data
.
micGain
||
50
;
GlobalConfig
.
micNoise
=
_data
.
micNoise
||
50
;
GlobalConfig
.
micGain
=
_data
.
micGain
||
70
;
GlobalConfig
.
micNoise
=
_data
.
micNoise
||
70
;
GlobalConfig
.
autoGain
=
_data
.
autoGain
||
false
;
GlobalConfig
.
speakerVolume
=
_data
.
speakerVolume
||
5
0
;
GlobalConfig
.
speakerVolume
=
_data
.
speakerVolume
||
8
0
;
GlobalConfig
.
micCode
=
_data
.
micCode
||
0
;
GlobalConfig
.
curCamera
=
_data
.
curCamera
||
''
;
GlobalConfig
.
curMicrophone
=
_data
.
curMicrophone
||
''
;
...
...
src/GlobalConfig.js
查看文件 @
c0c850f
...
...
@@ -454,10 +454,10 @@ GlobalConfig.microphones = []; //麦克风列表
GlobalConfig
.
curCamera
=
""
;
//当前选择的摄像头
GlobalConfig
.
curMicrophone
=
''
;
//当前选择的麦克风
GlobalConfig
.
micGain
=
50
;
//音量(0-100)
GlobalConfig
.
micNoise
=
50
;
//(0-100)
GlobalConfig
.
micGain
=
70
;
//音量(0-100)*80
GlobalConfig
.
micNoise
=
70
;
//(0-100)*(-60)
GlobalConfig
.
autoGain
=
false
;
//自动调节麦克风音量
GlobalConfig
.
speakerVolume
=
5
0
;
//扬声器音量(0-80)
GlobalConfig
.
speakerVolume
=
8
0
;
//扬声器音量(0-80)
GlobalConfig
.
micCode
=
0
;
//麦克风模式
GlobalConfig
.
audioRecords
=
[];
...
...
请
注册
或
登录
后发表评论