Skip to content

Commit

Permalink
更新xp2p-sdk版本号(增加日志开关接口以及接口文档)
Browse files Browse the repository at this point in the history
Change-Id: I4954609bcab78dac88edca4705b3c68a7349e474
  • Loading branch information
archurtan committed Jan 17, 2022
1 parent 7bb2ede commit 3d8c4d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/video-link-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

Expand Down
11 changes: 11 additions & 0 deletions sdk/video-link-android/doc/VideoSDK接口说明.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);~~
Expand Down

0 comments on commit 3d8c4d6

Please sign in to comment.