Skip to content

Commit 3d8c4d6

Browse files
author
archurtan
committed
更新xp2p-sdk版本号(增加日志开关接口以及接口文档)
Change-Id: I4954609bcab78dac88edca4705b3c68a7349e474
1 parent 7bb2ede commit 3d8c4d6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

sdk/video-link-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848
// api('com.tencent.iot.thirdparty.android:xp2p-sdk:latest.integration') {
4949
// changing = true
5050
// }
51-
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3-SNAPSHOT'
51+
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3'
5252
api 'com.tencent.iot.thirdparty.android:media-server:1.0.0'
5353
}
5454

sdk/video-link-android/doc/VideoSDK接口说明.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,17 @@ WlanDetectBody 定义如下
206206
| :---------------------------- | :---------------------------- | :--------------- |
207207
| onWlanDevicesDetectedCallback | OnWlanDevicesDetectedCallback | 广播响应包监听器 |
208208

209+
21. 设置是否输出P2P日志(默认情况下,控制台日志以及日志文件输出是打开状态)
210+
211+
> void setLogEnable(boolean console, boolean file);
212+
213+
> 注意: 在start service之前调用该接口, 可以和XP2P.setCallback(this)接口一起调用
214+
215+
| 参数 | 类型 | 描述 |
216+
| :---- | :------------- | :------------------- |
217+
| console | boolean | 控制台日志输出开关 |
218+
| file | boolean | 日志文件输出开关 |
219+
209220
### 废弃接口
210221

211222
~~public static String getComandRequestWithSync(String cmd, long timeout);~~

0 commit comments

Comments
 (0)