expo-libvlc-player 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,6 +15,7 @@ object MediaPlayerConstants {
|
|
|
15
15
|
const val EXTRA_CONTROL_FORWARD: Int = 4
|
|
16
16
|
const val SEEK_STEP_MS: Long = 10_000L
|
|
17
17
|
|
|
18
|
+
const val ATTACH_DELAY_MS: Long = 250L
|
|
18
19
|
const val PAUSE_DELAY_MS: Long = 1_000L
|
|
19
20
|
const val EXP_DELAY_MULTIPLIER: Double = 1.5
|
|
20
21
|
const val RETRY_DELAY_MS: Double = 300.0
|
|
@@ -277,7 +277,7 @@ class PictureInPictureManager(
|
|
|
277
277
|
pipView?.let { view ->
|
|
278
278
|
// Black screen workaround
|
|
279
279
|
view.detachPlayerLayout()
|
|
280
|
-
view.
|
|
280
|
+
view.postDelayed({ view.attachPlayerLayout(pictureLayout) }, MediaPlayerConstants.ATTACH_DELAY_MS)
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
|