[Update]更新zego直播相关sdk的版本
This commit is contained in:
@@ -67,7 +67,8 @@ class CameraListView : FrameLayout {
|
||||
private val liveStreamManager by lazy {
|
||||
LiveStreamManagerImpl.getInstance(
|
||||
context.applicationContext as Application?,
|
||||
MoGoAiCloudClientConfig.getInstance().sn
|
||||
MoGoAiCloudClientConfig.getInstance().sn,
|
||||
false
|
||||
)
|
||||
}
|
||||
private var liveSn: String? = ""
|
||||
@@ -336,11 +337,16 @@ class CameraListView : FrameLayout {
|
||||
try {
|
||||
GSYVideoManager.releaseAllVideos()
|
||||
} catch (e: Exception) {
|
||||
Logger.e(TAG, "stopLive exception msg is:${e.message},cause is:${e.cause}")
|
||||
e.printStackTrace()
|
||||
}
|
||||
}
|
||||
else -> {
|
||||
if (!liveSn.isNullOrEmpty()) MoGoAiCloudTrafficLive.stopCarLive(liveSn)
|
||||
if (!liveSn.isNullOrEmpty()) {
|
||||
MoGoAiCloudTrafficLive.stopCarLive(liveSn)
|
||||
} else {
|
||||
Logger.d(TAG, "StopCarLive sn is null or empty!")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user