Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄天晨
bh_face_counter
Commits
53d2bbe0
Commit
53d2bbe0
authored
Jul 06, 2020
by
修福龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁止刷脸系统语音通话的推流
parent
d38a25e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
FacePage.js
src/pages/FacePage.js
+2
-1
No files found.
src/pages/FacePage.js
View file @
53d2bbe0
...
...
@@ -170,13 +170,14 @@ class FacePage extends Component {
await
this
.
engine
.
enableWebSdkInteroperability
(
true
);
//打开与webSDK的互通
await
this
.
engine
.
setChannelProfile
(
0
);
//设置频道场景
await
this
.
engine
.
setClientRole
(
1
);
//设置为主播角色
await
this
.
engine
.
muteLocalAudioStream
(
true
);
//停止发送本地音频流
// 加入频道
await
this
.
engine
.
joinChannel
(
data
.
token
,
data
.
channel
,
null
,
data
.
uid
);
//判断当前是否扬声器
if
(
!
(
await
this
.
engine
.
isSpeakerphoneEnabled
()))
{
await
this
.
engine
.
setEnableSpeakerphone
(
true
);
//切换到外放
}
await
this
.
setState
({
this
.
setState
({
talkCall
:
1
,
});
}
catch
(
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment