From 3d8c4d6eff6e2b0cfd245a24fda396e7d9bc0add Mon Sep 17 00:00:00 2001 From: archurtan Date: Mon, 17 Jan 2022 14:15:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0xp2p-sdk=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=EF=BC=88=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E6=8E=A5=E5=8F=A3=E4=BB=A5=E5=8F=8A=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4954609bcab78dac88edca4705b3c68a7349e474 --- sdk/video-link-android/build.gradle | 2 +- ...46\216\245\345\217\243\350\257\264\346\230\216.md" | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sdk/video-link-android/build.gradle b/sdk/video-link-android/build.gradle index 8d0d74da7..5489c14ee 100644 --- a/sdk/video-link-android/build.gradle +++ b/sdk/video-link-android/build.gradle @@ -48,7 +48,7 @@ dependencies { // api('com.tencent.iot.thirdparty.android:xp2p-sdk:latest.integration') { // changing = true // } - api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3-SNAPSHOT' + api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3' api 'com.tencent.iot.thirdparty.android:media-server:1.0.0' } diff --git "a/sdk/video-link-android/doc/VideoSDK\346\216\245\345\217\243\350\257\264\346\230\216.md" "b/sdk/video-link-android/doc/VideoSDK\346\216\245\345\217\243\350\257\264\346\230\216.md" index 40d5a2f36..e2aa9d7f1 100644 --- "a/sdk/video-link-android/doc/VideoSDK\346\216\245\345\217\243\350\257\264\346\230\216.md" +++ "b/sdk/video-link-android/doc/VideoSDK\346\216\245\345\217\243\350\257\264\346\230\216.md" @@ -206,6 +206,17 @@ WlanDetectBody 定义如下 | :---------------------------- | :---------------------------- | :--------------- | | onWlanDevicesDetectedCallback | OnWlanDevicesDetectedCallback | 广播响应包监听器 | +21. 设置是否输出P2P日志(默认情况下,控制台日志以及日志文件输出是打开状态) + +> void setLogEnable(boolean console, boolean file); + +> 注意: 在start service之前调用该接口, 可以和XP2P.setCallback(this)接口一起调用 + +| 参数 | 类型 | 描述 | +| :---- | :------------- | :------------------- | +| console | boolean | 控制台日志输出开关 | +| file | boolean | 日志文件输出开关 | + ### 废弃接口 ~~public static String getComandRequestWithSync(String cmd, long timeout);~~