Commit 94102c00 authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

Release video window when not used anymore

parent 28edf4ff
......@@ -119,6 +119,7 @@ class CallInProgressActivity : CallGenericActivity() {
if (coreContext.core.callsNb > 0) {
coreContext.createCallOverlay()
}
coreContext.core.nativeVideoWindowId = null
super.onPause()
}
......
......@@ -78,4 +78,9 @@ class CallIncomingActivity : CallGenericActivity() {
if (callViewModel.videoFullScreen.value!!) binding.root.videofullscreen else binding.root.videocollapsed
}
override fun onPause() {
coreContext.core.nativeVideoWindowId = null
super.onPause()
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment