Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
杨凯
YDL-Component-Medical
Commits
716e4747
Commit
716e4747
authored
Aug 23, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:升级m-confide组件(检测到系统来电中断声网通话)
parent
184b10f0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
config.gradle
config.gradle
+4
-4
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+1
-1
ConsultantAudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/consultantim/ConsultantAudioHomeActivity.kt
+1
-1
No files found.
config.gradle
View file @
716e4747
...
@@ -5,7 +5,7 @@ ext {
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.1
1
"
,
"m-confide"
:
"0.0.49.1
2
"
,
"m-consultant"
:
"0.0.59.91"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.04"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-user"
:
"0.0.61.42"
,
...
@@ -39,7 +39,7 @@ ext {
...
@@ -39,7 +39,7 @@ ext {
"ydl-webview"
:
"0.0.38.47"
,
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.
39
"
,
"m-audioim"
:
"0.0.49.29.
40
"
,
"ydl-flutter-base"
:
"0.0.14.26"
,
"ydl-flutter-base"
:
"0.0.14.26"
,
//以下 几乎不会动
//以下 几乎不会动
...
@@ -88,7 +88,7 @@ ext {
...
@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.1
1
"
,
"m-confide"
:
"0.0.49.1
2
"
,
"m-consultant"
:
"0.0.59.91"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.04"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-user"
:
"0.0.61.42"
,
...
@@ -121,7 +121,7 @@ ext {
...
@@ -121,7 +121,7 @@ ext {
"ydl-webview"
:
"0.0.38.47"
,
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.
39
"
,
"m-audioim"
:
"0.0.49.29.
40
"
,
"ydl-flutter-base"
:
"0.0.14.26"
,
"ydl-flutter-base"
:
"0.0.14.26"
,
//以下 几乎不会动
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
716e4747
...
@@ -403,7 +403,7 @@ class AudioHomeActivity :
...
@@ -403,7 +403,7 @@ class AudioHomeActivity :
//本地音频状态变化
//本地音频状态变化
override
fun
onLocalAudioStateChanged
(
localVideoState
:
Int
,
error
:
Int
)
{
override
fun
onLocalAudioStateChanged
(
localVideoState
:
Int
,
error
:
Int
)
{
super
.
onLocalAudioStateChanged
(
localVideoState
,
error
)
super
.
onLocalAudioStateChanged
(
localVideoState
,
error
)
writeAgoraLog
(
"
当检测到系统来电中断通话
$error"
)
writeAgoraLog
(
"
本地音频回调
$error"
)
if
(
error
==
8
)
{
if
(
error
==
8
)
{
//当检测到系统来电中断通话
//当检测到系统来电中断通话
leaveChannel
()
leaveChannel
()
...
...
m-audioim/src/main/java/com/ydl/consultantim/ConsultantAudioHomeActivity.kt
View file @
716e4747
...
@@ -351,7 +351,7 @@ class ConsultantAudioHomeActivity :
...
@@ -351,7 +351,7 @@ class ConsultantAudioHomeActivity :
//本地音频状态监听
//本地音频状态监听
override
fun
onLocalAudioStateChanged
(
localVideoState
:
Int
,
error
:
Int
)
{
override
fun
onLocalAudioStateChanged
(
localVideoState
:
Int
,
error
:
Int
)
{
super
.
onLocalAudioStateChanged
(
localVideoState
,
error
)
super
.
onLocalAudioStateChanged
(
localVideoState
,
error
)
writeAgoraLog
(
"本地音频
被系统电话中断
$error"
)
writeAgoraLog
(
"本地音频
回调
$error"
)
if
(
error
==
8
){
if
(
error
==
8
){
//本地音频被系统电话中断
//本地音频被系统电话中断
leaveChannel
()
leaveChannel
()
...
...
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