Skip to content

Commit 7a52ed5

Browse files
committed
升级p2p sdk
1 parent e12c610 commit 7a52ed5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sdk/video-link-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies {
5151
// changing = true
5252
// }
5353

54-
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.59'
54+
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.60.1'
5555
api 'com.tencent.iot.thirdparty.android:iot-gvoice-android:1.0.4'
5656
api 'com.tencent.iot.thirdparty.android:media-server:1.0.8'
5757
api 'com.tencent.iot.thirdparty.android:iot-soundtouch:1.0.2'

sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@ class VideoPreviewActivity : VideoPreviewBaseActivity<ActivityVideoPreviewBindin
577577
}
578578
}
579579

580-
override fun fail(msg: String?, errorCode: Int) {}
580+
override fun fail(msg: String?, errorCode: Int) {
581+
Log.e(tag, "fail: ${msg}, errorCode: ${errorCode}")
582+
}
581583
override fun commandRequest(id: String?, msg: String?) {}
582584
override fun avDataRecvHandle(id: String?, data: ByteArray?, len: Int) {}
583585
override fun avDataCloseHandle(id: String?, msg: String?, errorCode: Int) {}

0 commit comments

Comments
 (0)