Skip to content

Commit

Permalink
更新xp2p sdk版本
Browse files Browse the repository at this point in the history
Change-Id: Ief3f35cf786f4be1b036e9c1e6733c554f6dcb69
  • Loading branch information
archurtan committed Dec 30, 2021
1 parent fcbf30b commit 46a09ac
Show file tree
Hide file tree
Showing 2 changed files with 3 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.2-SNAPSHOT'
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.2'
api 'com.tencent.iot.thirdparty.android:media-server:1.0.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import kotlinx.android.synthetic.main.title_layout.*
import kotlinx.coroutines.*
import tv.danmaku.ijk.media.player.IjkMediaPlayer
import java.lang.Runnable
import java.nio.charset.StandardCharsets
import java.util.*


Expand Down Expand Up @@ -311,6 +312,7 @@ class WlanVideoPreviewActivity : VideoBaseActivity(), TextureView.SurfaceTexture
override fun avDataRecvHandle(id: String?, data: ByteArray?, len: Int) {}
override fun avDataCloseHandle(id: String?, msg: String?, errorCode: Int) {}
override fun onDeviceMsgArrived(id: String?, data: ByteArray?, len: Int): String {
Log.d(tag, "==onDeviceMsgArrived: ${data?.let { String(it, StandardCharsets.UTF_8) }}")
return "app reply to device"
}

Expand Down

0 comments on commit 46a09ac

Please sign in to comment.