|
@@ -102,6 +102,7 @@ class AnchorRoomActivity : AbsAnchorActivity<ActivityAnchorRoomBinding, IRoomInf
|
|
|
|
|
|
private lateinit var countDownTimer: CountDownTimer
|
|
|
private var startFaceShowTimer = true
|
|
|
+ private var liveNoFaceTime:Long = 600000
|
|
|
|
|
|
override fun initLiveData() {
|
|
|
PKStateManager.resetData()
|
|
@@ -340,11 +341,12 @@ class AnchorRoomActivity : AbsAnchorActivity<ActivityAnchorRoomBinding, IRoomInf
|
|
|
binding.cbPassword.text = if (isChecked) "Password ·NO" else "Password ·OFF"
|
|
|
checkPassword = isChecked
|
|
|
}
|
|
|
- countDownTimer = object : CountDownTimer(10000, 10000) {
|
|
|
+ countDownTimer = object : CountDownTimer(liveNoFaceTime, liveNoFaceTime) {
|
|
|
override fun onTick(millisUntilFinished: Long) {
|
|
|
}
|
|
|
|
|
|
override fun onFinish() {
|
|
|
+ roomVm.uploadBroadcast()
|
|
|
SwagoRoomManager.closeRoom()
|
|
|
}
|
|
|
|