expo-video 2.2.0 → 2.2.2

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/video/FullscreenPlayerActivity.kt +6 -2
  4. package/android/src/main/java/expo/modules/video/VideoView.kt +35 -31
  5. package/android/src/main/java/expo/modules/video/player/PlayerEvent.kt +2 -1
  6. package/android/src/main/java/expo/modules/video/player/VideoPlayerListener.kt +3 -0
  7. package/android/src/main/java/expo/modules/video/utils/PictureInPictureUtils.kt +36 -3
  8. package/expo-module.config.json +1 -1
  9. package/ios/VideoPlayer.swift +1 -1
  10. package/ios/VideoPlayerItem.swift +3 -1
  11. package/ios/VideoPlayerObserver.swift +74 -22
  12. package/ios/VideoSourceLoader.swift +44 -8
  13. package/ios/VideoSourceLoaderListener.swift +34 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.video/{2.2.0/expo.modules.video-2.2.0-sources.jar → 2.2.2/expo.modules.video-2.2.2-sources.jar} +0 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2-sources.jar.md5 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2-sources.jar.sha1 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2-sources.jar.sha256 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2-sources.jar.sha512 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.aar +0 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.aar.md5 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.aar.sha1 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.aar.sha256 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.aar.sha512 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.video/{2.2.0/expo.modules.video-2.2.0.module → 2.2.2/expo.modules.video-2.2.2.module} +22 -22
  25. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.module.md5 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.module.sha1 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.module.sha256 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.module.sha512 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.video/{2.2.0/expo.modules.video-2.2.0.pom → 2.2.2/expo.modules.video-2.2.2.pom} +1 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.pom.md5 +1 -0
  31. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.pom.sha1 +1 -0
  32. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.pom.sha256 +1 -0
  33. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.2/expo.modules.video-2.2.2.pom.sha512 +1 -0
  34. package/local-maven-repo/host/exp/exponent/expo.modules.video/maven-metadata.xml +4 -4
  35. package/local-maven-repo/host/exp/exponent/expo.modules.video/maven-metadata.xml.md5 +1 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.video/maven-metadata.xml.sha1 +1 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.video/maven-metadata.xml.sha256 +1 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.video/maven-metadata.xml.sha512 +1 -1
  39. package/package.json +2 -2
  40. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0-sources.jar.md5 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0-sources.jar.sha1 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0-sources.jar.sha256 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0-sources.jar.sha512 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.aar +0 -0
  45. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.aar.md5 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.aar.sha1 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.aar.sha256 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.aar.sha512 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.module.md5 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.module.sha1 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.module.sha256 +0 -1
  52. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.module.sha512 +0 -1
  53. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.pom.md5 +0 -1
  54. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.pom.sha1 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.pom.sha256 +0 -1
  56. package/local-maven-repo/host/exp/exponent/expo.modules.video/2.2.0/expo.modules.video-2.2.0.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.2.2 — 2025-06-18
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Fix aspect ratio of the Picture in Picture window when auto-entering for sources with ratio different from 16:9. ([#37225](https://github.com/expo/expo/pull/37225) by [@behenate](https://github.com/behenate))
18
+
19
+ ## 2.2.1 — 2025-06-10
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 2.2.0 — 2025-06-04
14
24
 
15
25
  ### 🎉 New features
@@ -21,6 +31,10 @@
21
31
  - [Android] Fix `onFirstFrameRender` not being emitted for sources with `pixelWidthHeightRatio` different than 1. ([#37009](https://github.com/expo/expo/pull/37009) by [@behenate](https://github.com/behenate))
22
32
  - [Android] Fix `useExoShutter` prop not being exposed to the JS side. ([#37012](https://github.com/expo/expo/pull/37012) by [@behenate](https://github.com/behenate))
23
33
  - [Android] Add missing `onFirstFrameRender` event to the `VideoView` definition. ([#37014](https://github.com/expo/expo/pull/37014) by [@behenate](https://github.com/behenate))
34
+ - [iOS] Fix player not entering 'error' state when loading fails on iOS. ([#37177](https://github.com/expo/expo/pull/37177) by [@behenate](https://github.com/behenate))
35
+ - [iOS] Fix player reporting status `readyToPlay` while a source is being loaded asynchronously. ([#37180](https://github.com/expo/expo/pull/37180) by [@behenate](https://github.com/behenate))
36
+ - [iOS] Fix player going into `loading` status for a single frame when unpausing with a full buffer. ([#37181](https://github.com/expo/expo/pull/37181) by [@behenate](https://github.com/behenate))
37
+ - [iOS] Fix player getting stuck in `loading` state for null sources. ([#37183](https://github.com/expo/expo/pull/37183) by [@behenate](https://github.com/behenate))
24
38
 
25
39
  ## 2.1.9 — 2025-05-08
26
40
 
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '2.2.0'
7
+ version = '2.2.2'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.video"
11
11
  defaultConfig {
12
12
  versionCode 1
13
- versionName '2.2.0'
13
+ versionName '2.2.2'
14
14
  }
15
15
  }
16
16
 
@@ -12,8 +12,9 @@ import android.widget.ImageButton
12
12
  import androidx.media3.ui.PlayerView
13
13
  import expo.modules.kotlin.exception.CodedException
14
14
  import expo.modules.video.player.VideoPlayer
15
- import expo.modules.video.utils.applyAutoEnterPiP
15
+ import expo.modules.video.utils.applyPiPParams
16
16
  import expo.modules.video.utils.applyRectHint
17
+ import expo.modules.video.utils.calculatePiPAspectRatio
17
18
  import expo.modules.video.utils.calculateRectHint
18
19
 
19
20
  @androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
@@ -44,7 +45,10 @@ class FullscreenPlayerActivity : Activity() {
44
45
  videoPlayer = videoView.videoPlayer
45
46
  videoPlayer?.changePlayerView(playerView)
46
47
  VideoManager.registerFullscreenPlayerActivity(hashCode().toString(), this)
47
- applyAutoEnterPiP(this, videoView.autoEnterPiP)
48
+ playerView.player?.let {
49
+ val aspectRatio = calculatePiPAspectRatio(it.videoSize, playerView.width, playerView.height, videoView.contentFit)
50
+ applyPiPParams(this, videoView.autoEnterPiP, aspectRatio)
51
+ }
48
52
  }
49
53
 
50
54
  override fun onPostCreate(savedInstanceState: Bundle?) {
@@ -15,6 +15,7 @@ import android.widget.FrameLayout
15
15
  import android.widget.ImageButton
16
16
  import androidx.fragment.app.FragmentActivity
17
17
  import androidx.media3.common.Tracks
18
+ import androidx.media3.common.VideoSize
18
19
  import androidx.media3.ui.PlayerView
19
20
  import com.facebook.react.bridge.ReactContext
20
21
  import com.facebook.react.uimanager.UIManagerHelper
@@ -27,8 +28,13 @@ import expo.modules.video.delegates.IgnoreSameSet
27
28
  import expo.modules.video.enums.ContentFit
28
29
  import expo.modules.video.player.VideoPlayer
29
30
  import expo.modules.video.player.VideoPlayerListener
30
- import expo.modules.video.utils.applyAutoEnterPiP
31
+ import expo.modules.video.records.AudioTrack
32
+ import expo.modules.video.records.SubtitleTrack
33
+ import expo.modules.video.records.VideoSource
34
+ import expo.modules.video.records.VideoTrack
35
+ import expo.modules.video.utils.applyPiPParams
31
36
  import expo.modules.video.utils.applyRectHint
37
+ import expo.modules.video.utils.calculatePiPAspectRatio
32
38
  import expo.modules.video.utils.calculateRectHint
33
39
  import expo.modules.video.utils.dispatchMotionEvent
34
40
  import java.util.UUID
@@ -82,7 +88,7 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
82
88
  }
83
89
 
84
90
  var autoEnterPiP: Boolean by IgnoreSameSet(false) { new, _ ->
85
- applyAutoEnterPiP(currentActivity, new)
91
+ applyPiPParams(currentActivity, new, calculateCurrentPipAspectRatio())
86
92
  }
87
93
 
88
94
  var contentFit: ContentFit = ContentFit.CONTAIN
@@ -178,7 +184,7 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
178
184
  currentActivity.overridePendingTransition(0, 0)
179
185
  }
180
186
  onFullscreenEnter(Unit)
181
- applyAutoEnterPiP(currentActivity, false)
187
+ applyPiPParams(currentActivity, false, calculateCurrentPipAspectRatio())
182
188
  }
183
189
 
184
190
  fun attachPlayer() {
@@ -192,7 +198,7 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
192
198
  attachPlayer()
193
199
  onFullscreenExit(Unit)
194
200
  isInFullscreen = false
195
- applyAutoEnterPiP(currentActivity, autoEnterPiP)
201
+ applyPiPParams(currentActivity, autoEnterPiP, calculateCurrentPipAspectRatio())
196
202
  }
197
203
 
198
204
  fun enterPictureInPicture() {
@@ -203,32 +209,9 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
203
209
  val player = playerView.player
204
210
  ?: throw PictureInPictureEnterException("No player attached to the VideoView")
205
211
  playerView.useController = false
206
-
207
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
208
- var aspectRatio = if (contentFit == ContentFit.CONTAIN) {
209
- Rational(player.videoSize.width, player.videoSize.height)
210
- } else {
211
- Rational(width, height)
212
- }
213
- // AspectRatio for the activity in picture-in-picture, must be between 2.39:1 and 1:2.39 (inclusive).
214
- // https://developer.android.com/reference/android/app/PictureInPictureParams.Builder#setAspectRatio(android.util.Rational)
215
- val maximumRatio = Rational(239, 100)
216
- val minimumRatio = Rational(100, 239)
217
- if (aspectRatio.toFloat() > maximumRatio.toFloat()) {
218
- aspectRatio = maximumRatio
219
- } else if (aspectRatio.toFloat() < minimumRatio.toFloat()) {
220
- aspectRatio = minimumRatio
221
- }
222
-
223
- currentActivity.setPictureInPictureParams(
224
- PictureInPictureParams
225
- .Builder()
226
- .setAspectRatio(aspectRatio)
227
- .build()
228
- )
229
- }
230
-
212
+ applyPiPParams(currentActivity, autoEnterPiP, calculateCurrentPipAspectRatio())
231
213
  willEnterPiP = true
214
+
232
215
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
233
216
  currentActivity.enterPictureInPictureMode(PictureInPictureParams.Builder().build())
234
217
  } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
@@ -237,6 +220,11 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
237
220
  }
238
221
  }
239
222
 
223
+ private fun calculateCurrentPipAspectRatio(): Rational? {
224
+ val player = videoPlayer?.player ?: return null
225
+ return calculatePiPAspectRatio(player.videoSize, this.width, this.height, contentFit)
226
+ }
227
+
240
228
  /**
241
229
  * For optimal picture in picture experience it's best to only have one view. This method
242
230
  * hides all children of the root view and makes the player the only visible child of the rootView.
@@ -263,6 +251,22 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
263
251
  this.addView(playerView)
264
252
  }
265
253
 
254
+ override fun onVideoSourceLoaded(
255
+ player: VideoPlayer,
256
+ videoSource: VideoSource?,
257
+ duration: Double?,
258
+ availableVideoTracks: List<VideoTrack>,
259
+ availableSubtitleTracks: List<SubtitleTrack>,
260
+ availableAudioTracks: List<AudioTrack>
261
+ ) {
262
+ availableVideoTracks.firstOrNull()?.let {
263
+ val videoSize = VideoSize(it.size.width, it.size.height)
264
+ val aspectRatio = calculatePiPAspectRatio(videoSize, this.width, this.height, contentFit)
265
+ applyPiPParams(currentActivity, autoEnterPiP, aspectRatio)
266
+ }
267
+ super.onVideoSourceLoaded(player, videoSource, duration, availableVideoTracks, availableSubtitleTracks, availableAudioTracks)
268
+ }
269
+
266
270
  override fun onTracksChanged(player: VideoPlayer, tracks: Tracks) {
267
271
  showsSubtitlesButton = player.subtitles.availableSubtitleTracks.isNotEmpty()
268
272
  showsAudioTracksButton = player.audioTracks.availableAudioTracks.size > 1
@@ -302,7 +306,7 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
302
306
  .add(fragment, fragment.id)
303
307
  .commitAllowingStateLoss()
304
308
  }
305
- applyAutoEnterPiP(currentActivity, autoEnterPiP)
309
+ applyPiPParams(currentActivity, autoEnterPiP)
306
310
  }
307
311
 
308
312
  override fun onDetachedFromWindow() {
@@ -314,7 +318,7 @@ open class VideoView(context: Context, appContext: AppContext, useTextureView: B
314
318
  .remove(fragment)
315
319
  .commitAllowingStateLoss()
316
320
  }
317
- applyAutoEnterPiP(currentActivity, false)
321
+ applyPiPParams(currentActivity, false)
318
322
  }
319
323
 
320
324
  // After adding the `PlayerView` to the hierarchy the touch events stop being emitted to the JS side.
@@ -156,7 +156,8 @@ sealed class PlayerEvent {
156
156
  is AudioMixingModeChanged -> listeners.forEach { it.onAudioMixingModeChanged(player, audioMixingMode, oldAudioMixingMode) }
157
157
  is VideoTrackChanged -> listeners.forEach { it.onVideoTrackChanged(player, videoTrack, oldVideoTrack) }
158
158
  is RenderedFirstFrame -> listeners.forEach { it.onRenderedFirstFrame(player) }
159
- // JS-only events - VideoSourceLoaded, SubtitleTrackChanged - In the native events the TracksChanged can be used instead
159
+ is VideoSourceLoaded -> listeners.forEach { it.onVideoSourceLoaded(player, videoSource, duration, availableVideoTracks, availableSubtitleTracks, availableAudioTracks) }
160
+ // JS-only events - SubtitleTrackChanged - In the native events the TracksChanged can be used instead
160
161
  else -> Unit
161
162
  }
162
163
  }
@@ -6,7 +6,9 @@ import androidx.media3.common.Tracks
6
6
  import androidx.media3.common.util.UnstableApi
7
7
  import expo.modules.video.enums.AudioMixingMode
8
8
  import expo.modules.video.enums.PlayerStatus
9
+ import expo.modules.video.records.AudioTrack
9
10
  import expo.modules.video.records.PlaybackError
11
+ import expo.modules.video.records.SubtitleTrack
10
12
  import expo.modules.video.records.VideoSource
11
13
  import expo.modules.video.records.TimeUpdate
12
14
  import expo.modules.video.records.VideoTrack
@@ -25,5 +27,6 @@ interface VideoPlayerListener {
25
27
  fun onPlayedToEnd(player: VideoPlayer) {}
26
28
  fun onAudioMixingModeChanged(player: VideoPlayer, audioMixingMode: AudioMixingMode, oldAudioMixingMode: AudioMixingMode?) {}
27
29
  fun onVideoTrackChanged(player: VideoPlayer, videoTrack: VideoTrack?, oldVideoTrack: VideoTrack?) {}
30
+ fun onVideoSourceLoaded(player: VideoPlayer, videoSource: VideoSource?, duration: Double?, availableVideoTracks: List<VideoTrack>, availableSubtitleTracks: List<SubtitleTrack>, availableAudioTracks: List<AudioTrack>) {}
28
31
  fun onRenderedFirstFrame(player: VideoPlayer) {}
29
32
  }
@@ -5,11 +5,14 @@ import android.app.PictureInPictureParams
5
5
  import android.graphics.Rect
6
6
  import android.os.Build
7
7
  import android.util.Log
8
+ import android.util.Rational
8
9
  import androidx.annotation.OptIn
10
+ import androidx.media3.common.VideoSize
9
11
  import androidx.media3.common.util.UnstableApi
10
12
  import androidx.media3.ui.PlayerView
11
13
  import expo.modules.video.PictureInPictureConfigurationException
12
14
  import expo.modules.video.VideoView.Companion.isPictureInPictureSupported
15
+ import expo.modules.video.enums.ContentFit
13
16
 
14
17
  @OptIn(UnstableApi::class)
15
18
  internal fun calculateRectHint(playerView: PlayerView): Rect {
@@ -34,6 +37,25 @@ internal fun calculateRectHint(playerView: PlayerView): Rect {
34
37
  return hint
35
38
  }
36
39
 
40
+ internal fun calculatePiPAspectRatio(videoSize: VideoSize, viewWidth: Int, viewHeight: Int, contentFit: ContentFit): Rational {
41
+ var aspectRatio = if (contentFit == ContentFit.CONTAIN) {
42
+ Rational(videoSize.width, videoSize.height)
43
+ } else {
44
+ Rational(viewWidth, viewHeight)
45
+ }
46
+ // AspectRatio for the activity in picture-in-picture, must be between 2.39:1 and 1:2.39 (inclusive).
47
+ // https://developer.android.com/reference/android/app/PictureInPictureParams.Builder#setAspectRatio(android.util.Rational)
48
+ val maximumRatio = Rational(239, 100)
49
+ val minimumRatio = Rational(100, 239)
50
+
51
+ if (aspectRatio.toFloat() > maximumRatio.toFloat()) {
52
+ aspectRatio = maximumRatio
53
+ } else if (aspectRatio.toFloat() < minimumRatio.toFloat()) {
54
+ aspectRatio = minimumRatio
55
+ }
56
+ return aspectRatio
57
+ }
58
+
37
59
  internal fun applyRectHint(activity: Activity, rectHint: Rect) {
38
60
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && isPictureInPictureSupported(activity)) {
39
61
  runWithPiPMisconfigurationSoftHandling {
@@ -54,10 +76,21 @@ internal fun runWithPiPMisconfigurationSoftHandling(shouldThrow: Boolean = false
54
76
  }
55
77
  }
56
78
 
57
- internal fun applyAutoEnterPiP(activity: Activity, autoEnterPiP: Boolean) {
58
- if (Build.VERSION.SDK_INT >= 31 && isPictureInPictureSupported(activity)) {
79
+ internal fun applyPiPParams(activity: Activity, autoEnterPiP: Boolean, aspectRatio: Rational? = null) {
80
+ // If the aspect ratio exceeds the limits, the app will crash
81
+ val safeAspectRatio = aspectRatio?.takeIf { it.toFloat() in 0.41841..2.39 }
82
+
83
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && isPictureInPictureSupported(activity)) {
84
+ val paramsBuilder = PictureInPictureParams.Builder()
85
+
86
+ safeAspectRatio?.let {
87
+ paramsBuilder.setAspectRatio(it)
88
+ }
89
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
90
+ paramsBuilder.setAutoEnterEnabled(autoEnterPiP)
91
+ }
59
92
  runWithPiPMisconfigurationSoftHandling {
60
- activity.setPictureInPictureParams(PictureInPictureParams.Builder().setAutoEnterEnabled(autoEnterPiP).build())
93
+ activity.setPictureInPictureParams(paramsBuilder.build())
61
94
  }
62
95
  }
63
96
  }
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.video",
11
- "version": "2.2.0",
11
+ "version": "2.2.2",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -169,7 +169,7 @@ internal final class VideoPlayer: SharedRef<AVPlayer>, Hashable, VideoPlayerObse
169
169
 
170
170
  private override init(_ ref: AVPlayer) {
171
171
  super.init(ref)
172
- observer = VideoPlayerObserver(owner: self)
172
+ observer = VideoPlayerObserver(owner: self, videoSourceLoader: videoSourceLoader)
173
173
  observer?.registerDelegate(delegate: self)
174
174
  VideoManager.shared.register(videoPlayer: self)
175
175
 
@@ -37,7 +37,9 @@ class VideoPlayerItem: AVPlayerItem {
37
37
 
38
38
  let asset = VideoAsset(url: url, videoSource: videoSource)
39
39
  self.urlAsset = asset
40
- _ = try await asset.load(.duration, .preferredTransform, .isPlayable)
40
+ // We can ignore any exceptions thrown during the load. The asset will be assigned to the `VideoPlayer` anyways
41
+ // and cause it to go into .error state trigerring the `onStatusChange` event.
42
+ _ = try? await asset.load(.duration, .preferredTransform, .isPlayable)
41
43
 
42
44
  super.init(asset: urlAsset, automaticallyLoadedAssetKeys: nil)
43
45
  self.createTracksLoadingTask()
@@ -69,13 +69,15 @@ final class WeakPlayerObserverDelegate: Hashable {
69
69
  }
70
70
  }
71
71
 
72
- class VideoPlayerObserver {
72
+ class VideoPlayerObserver: VideoSourceLoaderListener {
73
73
  private weak var owner: VideoPlayer?
74
+ private weak var videoSourceLoader: VideoSourceLoader?
74
75
  var player: AVPlayer? {
75
76
  owner?.ref
76
77
  }
77
78
  var delegates = Set<WeakPlayerObserverDelegate>()
78
79
  private var currentItem: VideoPlayerItem?
80
+ private var isLoadingAsynchronously = false
79
81
  private var loadedCurrentItem = false
80
82
  private var periodicTimeObserver: Any?
81
83
  private var currentVideoTrack: VideoTrack? {
@@ -98,11 +100,21 @@ class VideoPlayerObserver {
98
100
  }
99
101
  }
100
102
  private var error: Exception?
101
- private var status: PlayerStatus = .idle {
102
- didSet {
103
- if let player, oldValue != status {
103
+ private var _status: PlayerStatus = .idle
104
+ private var status: PlayerStatus {
105
+ get {
106
+ return _status
107
+ }
108
+ set {
109
+ if newValue != .loading && isLoadingAsynchronously {
110
+ return
111
+ }
112
+
113
+ if let player, newValue != status {
114
+ let oldStatus = self._status
115
+ _status = newValue
104
116
  delegates.forEach { delegate in
105
- delegate.value?.onStatusChanged(player: player, oldStatus: oldValue, newStatus: status, error: error)
117
+ delegate.value?.onStatusChanged(player: player, oldStatus: oldStatus, newStatus: status, error: error)
106
118
  }
107
119
  }
108
120
  }
@@ -127,9 +139,11 @@ class VideoPlayerObserver {
127
139
  private var currentSubtitlesObserver: NSObjectProtocol?
128
140
  private var currentAudioTracksObserver: NSObjectProtocol?
129
141
 
130
- init(owner: VideoPlayer) {
142
+ init(owner: VideoPlayer, videoSourceLoader: VideoSourceLoader) {
131
143
  self.owner = owner
144
+ self.videoSourceLoader = videoSourceLoader
132
145
  initializePlayerObservers()
146
+ self.videoSourceLoader?.registerListener(listener: self)
133
147
  }
134
148
 
135
149
  deinit {
@@ -146,6 +160,7 @@ class VideoPlayerObserver {
146
160
  }
147
161
 
148
162
  func cleanup() {
163
+ self.videoSourceLoader?.unregisterListener(listener: self)
149
164
  delegates.removeAll()
150
165
  invalidatePlayerObservers()
151
166
  invalidateCurrentPlayerItemObservers()
@@ -347,24 +362,18 @@ class VideoPlayerObserver {
347
362
  if player?.status != .failed {
348
363
  error = nil
349
364
  }
350
-
351
- switch playerItem.status {
352
- case .unknown:
365
+ if owner?.videoSourceLoader.isLoading == true {
353
366
  status = .loading
354
- case .failed:
355
- // The AVPlayerItem.error can't be modified, so we have a custom field for caching errors
356
- let playerItemError = (playerItem as? VideoPlayerItem)?.urlAsset.cachingError ?? error
367
+ return
368
+ }
369
+
370
+ let newStatus = playerItem.status.toVideoPlayerStatus(isPlaybackBufferEmpty: playerItem.isPlaybackBufferEmpty)
371
+
372
+ // The AVPlayerItem.error can't be modified, so we have a custom field for caching errors
373
+ if newStatus == .error {
374
+ let playerItemError = (playerItem as? VideoPlayerItem)?.urlAsset.cachingError ?? playerItem.error ?? error
357
375
  error = PlayerItemLoadException(playerItemError?.localizedDescription)
358
376
  status = .error
359
- case .readyToPlay:
360
- if playerItem.isPlaybackBufferEmpty {
361
- status = .loading
362
- } else {
363
- status = .readyToPlay
364
- }
365
- @unknown default:
366
- log.error("Unhandled `AVPlayerItem.Status` value: \(playerItem.status), returning `.loading` as fallback. Add the missing case as soon as possible.")
367
- status = .loading
368
377
  }
369
378
 
370
379
  if let player, !loadedCurrentItem && (status == .readyToPlay || status == .error) {
@@ -400,7 +409,16 @@ class VideoPlayerObserver {
400
409
  if player.timeControlStatus != .waitingToPlayAtSpecifiedRate && player.status == .readyToPlay && currentItem?.isPlaybackBufferEmpty != true {
401
410
  status = .readyToPlay
402
411
  } else if player.timeControlStatus == .waitingToPlayAtSpecifiedRate {
403
- status = .loading
412
+ switch player.reasonForWaitingToPlay {
413
+ case .noItemToPlay:
414
+ status = .idle
415
+ case .evaluatingBufferingRate:
416
+ // Every time the player is unpaused timeControlStatus goes into .waitingToPlayAtSpecifiedRate while evaluating buffering rate.
417
+ // This takes less than a frame and we can ignore this change to avoid unnecessary status changes.
418
+ break
419
+ default:
420
+ status = .loading
421
+ }
404
422
  }
405
423
 
406
424
  if isPlaying != (player.timeControlStatus == .playing) {
@@ -445,6 +463,21 @@ class VideoPlayerObserver {
445
463
  }
446
464
  }
447
465
  }
466
+
467
+ // MARK: - VideoSourceLoaderListener
468
+ func onLoadingStarted(loader: VideoSourceLoader, videoSource: VideoSource?) {
469
+ isLoadingAsynchronously = true
470
+ status = .loading
471
+ }
472
+
473
+ func onLoadingCancelled(loader: VideoSourceLoader, videoSource: VideoSource?) {
474
+ isLoadingAsynchronously = false
475
+ status = .idle
476
+ }
477
+
478
+ func onLoadingFinished(loader: VideoSourceLoader, videoSource: VideoSource?, result: VideoPlayerItem?) {
479
+ isLoadingAsynchronously = false
480
+ }
448
481
  }
449
482
 
450
483
  private extension AVPlayerItemAccessLogEvent {
@@ -469,3 +502,22 @@ private extension AVPlayerItemAccessLogEvent {
469
502
  return videoTracks.first { $0.id == id }
470
503
  }
471
504
  }
505
+
506
+ fileprivate extension AVPlayerItem.Status {
507
+ func toVideoPlayerStatus(isPlaybackBufferEmpty: Bool) -> PlayerStatus {
508
+ switch self {
509
+ case .unknown:
510
+ return .loading
511
+ case .failed:
512
+ return .error
513
+ case .readyToPlay:
514
+ if isPlaybackBufferEmpty {
515
+ return .loading
516
+ }
517
+ return .readyToPlay
518
+ @unknown default:
519
+ log.error("Unhandled `AVPlayerItem.Status` value: \(self), returning `.loading` as fallback. Add the missing case as soon as possible.")
520
+ return .loading
521
+ }
522
+ }
523
+ }
@@ -2,7 +2,19 @@ import AVKit
2
2
 
3
3
  internal class VideoSourceLoader {
4
4
  private(set) var isLoading: Bool = true
5
- private var currentTask: Task<VideoPlayerItem?, Error>?
5
+ private var currentSource: VideoSource?
6
+ private var currentTask: Task<LoadingResult, Error>?
7
+
8
+ private var listeners = Set<WeakVideoSourceLoaderListener>()
9
+
10
+ func registerListener(listener: VideoSourceLoaderListener) {
11
+ let weakListener = WeakVideoSourceLoaderListener(value: listener)
12
+ listeners.insert(weakListener)
13
+ }
14
+
15
+ func unregisterListener(listener: VideoSourceLoaderListener) {
16
+ listeners.remove(WeakVideoSourceLoaderListener(value: listener))
17
+ }
6
18
 
7
19
  /**
8
20
  Asynchronously loads a video item from the provided `videoSource`. If another loading operation is in progress, it will be cancelled.
@@ -12,16 +24,31 @@ internal class VideoSourceLoader {
12
24
  */
13
25
  func load(videoSource: VideoSource) async throws -> VideoPlayerItem? {
14
26
  isLoading = true
15
- currentTask?.cancel()
27
+ if let currentTask {
28
+ currentTask.cancel()
29
+ listeners.forEach { listener in
30
+ listener.value?.onLoadingCancelled(loader: self, videoSource: currentSource)
31
+ }
32
+ }
16
33
 
17
34
  let newTask = Task {
18
35
  return try await loadImpl(videoSource: videoSource)
19
36
  }
20
37
 
21
38
  self.currentTask = newTask
22
- let result = try await newTask.value
39
+ self.currentSource = videoSource
40
+ let loadingResult = try await newTask.value
41
+
42
+ if !loadingResult.isCancelled {
43
+ listeners.forEach { listener in
44
+ listener.value?.onLoadingFinished(loader: self, videoSource: videoSource, result: loadingResult.value)
45
+ }
46
+ }
47
+
23
48
  isLoading = false
24
- return result
49
+ self.currentSource = nil
50
+ self.currentTask = nil
51
+ return loadingResult.value
25
52
  }
26
53
 
27
54
  func cancelCurrentTask() {
@@ -34,20 +61,29 @@ internal class VideoSourceLoader {
34
61
  cancelCurrentTask()
35
62
  }
36
63
 
37
- private func loadImpl(videoSource: VideoSource) async throws -> VideoPlayerItem? {
64
+ private func loadImpl(videoSource: VideoSource) async throws -> LoadingResult {
65
+ listeners.forEach { listener in
66
+ listener.value?.onLoadingStarted(loader: self, videoSource: videoSource)
67
+ }
68
+
38
69
  guard
39
70
  let url = videoSource.uri
40
71
  else {
41
- return nil
72
+ return LoadingResult(value: nil, isCancelled: false)
42
73
  }
43
74
 
44
75
  let playerItem = try await VideoPlayerItem(videoSource: videoSource)
45
76
 
46
77
  if Task.isCancelled {
47
78
  print("The loading task has been cancelled")
48
- return nil
79
+ return LoadingResult(value: nil, isCancelled: true)
49
80
  }
50
81
 
51
- return playerItem
82
+ return LoadingResult(value: playerItem, isCancelled: false)
52
83
  }
53
84
  }
85
+
86
+ private struct LoadingResult {
87
+ let value: VideoPlayerItem?
88
+ let isCancelled: Bool
89
+ }
@@ -0,0 +1,34 @@
1
+ import Foundation
2
+
3
+ protocol VideoSourceLoaderListener: AnyObject {
4
+ func onLoadingStarted(loader: VideoSourceLoader, videoSource: VideoSource?)
5
+ func onLoadingFinished(loader: VideoSourceLoader, videoSource: VideoSource?, result: VideoPlayerItem?)
6
+ func onLoadingCancelled(loader: VideoSourceLoader, videoSource: VideoSource?)
7
+ }
8
+
9
+ extension VideoSourceLoaderListener {
10
+ func onLoadingStarted(loader: VideoSourceLoader, videoSource: VideoSource?) {}
11
+ func onLoadingFinished(loader: VideoSourceLoader, videoSource: VideoSource?, result: VideoPlayerItem?) {}
12
+ func onLoadingCancelled(loader: VideoSourceLoader, videoSource: VideoSource?) {}
13
+ }
14
+
15
+ final class WeakVideoSourceLoaderListener: Hashable {
16
+ private(set) weak var value: VideoSourceLoaderListener?
17
+
18
+ init(value: VideoSourceLoaderListener? = nil) {
19
+ self.value = value
20
+ }
21
+
22
+ static func == (lhs: WeakVideoSourceLoaderListener, rhs: WeakVideoSourceLoaderListener) -> Bool {
23
+ guard let lhsValue = lhs.value, let rhsValue = rhs.value else {
24
+ return lhs.value == nil && rhs.value == nil
25
+ }
26
+ return ObjectIdentifier(lhsValue) == ObjectIdentifier(rhsValue)
27
+ }
28
+
29
+ func hash(into hasher: inout Hasher) {
30
+ if let value {
31
+ hasher.combine(ObjectIdentifier(value))
32
+ }
33
+ }
34
+ }
@@ -0,0 +1 @@
1
+ c4f2762d81480d94819e4614974b2cc48cdb30dd642f5f41ef6f34cf4c8c62eb
@@ -0,0 +1 @@
1
+ f975db42b36e2fa2257add07d2578e69d6ae2db1dbcb95ecc5acdc125478a875b8f415f36a864bee021a4876de7b7a5d96998334a8e7261b8a8d70eea3ea3505
@@ -0,0 +1 @@
1
+ 94d97f10e11af0fac975db8b790292b45ba217ac
@@ -0,0 +1 @@
1
+ fc9e3b7f0743af34b778f40a90208e4826b241eb54c4c38e2f0727b2f68cf8a9
@@ -0,0 +1 @@
1
+ 0777e51bc9f0d7b489e7a7b84cbf0e24209473fb829158755c276025179e3da1a6d3bdb6a659afe6672776df86142372dd3669759bc9b31fa2896c3f38b242f9
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.video",
6
- "version": "2.2.0",
6
+ "version": "2.2.2",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.video-2.2.0.aar",
28
- "url": "expo.modules.video-2.2.0.aar",
29
- "size": 444322,
30
- "sha512": "a1501f7e947680eba85a049cf0520518bca4feca64832fbdc41383cb2c483f6253ecf8d429ad936966fcce1b0494175035399894dbce9c50f4765bd099edebf1",
31
- "sha256": "0022fab08b59c4346e67a4bf573af546f4f0e7eb322aee1115335e035318fa2c",
32
- "sha1": "06203802abf1c39df7bef9bddb6cf7dda03e6300",
33
- "md5": "b87e04623a8bc68b39b0d628a278460d"
27
+ "name": "expo.modules.video-2.2.2.aar",
28
+ "url": "expo.modules.video-2.2.2.aar",
29
+ "size": 447241,
30
+ "sha512": "0777e51bc9f0d7b489e7a7b84cbf0e24209473fb829158755c276025179e3da1a6d3bdb6a659afe6672776df86142372dd3669759bc9b31fa2896c3f38b242f9",
31
+ "sha256": "fc9e3b7f0743af34b778f40a90208e4826b241eb54c4c38e2f0727b2f68cf8a9",
32
+ "sha1": "94d97f10e11af0fac975db8b790292b45ba217ac",
33
+ "md5": "db056851da411b8c57e1bf3c003b3998"
34
34
  }
35
35
  ]
36
36
  },
@@ -113,13 +113,13 @@
113
113
  ],
114
114
  "files": [
115
115
  {
116
- "name": "expo.modules.video-2.2.0.aar",
117
- "url": "expo.modules.video-2.2.0.aar",
118
- "size": 444322,
119
- "sha512": "a1501f7e947680eba85a049cf0520518bca4feca64832fbdc41383cb2c483f6253ecf8d429ad936966fcce1b0494175035399894dbce9c50f4765bd099edebf1",
120
- "sha256": "0022fab08b59c4346e67a4bf573af546f4f0e7eb322aee1115335e035318fa2c",
121
- "sha1": "06203802abf1c39df7bef9bddb6cf7dda03e6300",
122
- "md5": "b87e04623a8bc68b39b0d628a278460d"
116
+ "name": "expo.modules.video-2.2.2.aar",
117
+ "url": "expo.modules.video-2.2.2.aar",
118
+ "size": 447241,
119
+ "sha512": "0777e51bc9f0d7b489e7a7b84cbf0e24209473fb829158755c276025179e3da1a6d3bdb6a659afe6672776df86142372dd3669759bc9b31fa2896c3f38b242f9",
120
+ "sha256": "fc9e3b7f0743af34b778f40a90208e4826b241eb54c4c38e2f0727b2f68cf8a9",
121
+ "sha1": "94d97f10e11af0fac975db8b790292b45ba217ac",
122
+ "md5": "db056851da411b8c57e1bf3c003b3998"
123
123
  }
124
124
  ]
125
125
  },
@@ -133,13 +133,13 @@
133
133
  },
134
134
  "files": [
135
135
  {
136
- "name": "expo.modules.video-2.2.0-sources.jar",
137
- "url": "expo.modules.video-2.2.0-sources.jar",
138
- "size": 52499,
139
- "sha512": "c7c374ab88183e831ed5a80a5e7a6f9ef2d29d4157c7b9496e30a9f87b14c4952b1e867b29f8feedbab21badccdf1b751f3a20367d1970a5e814311d96618f0e",
140
- "sha256": "ff54e2221752092ebdece914b77e4504b2864fc94504c8a1887ea67a2afa5ea0",
141
- "sha1": "f26b20423aa775f88468456856f576c24bc8149b",
142
- "md5": "6e1f79fc8674bec45f35f95a4f8933f3"
136
+ "name": "expo.modules.video-2.2.2-sources.jar",
137
+ "url": "expo.modules.video-2.2.2-sources.jar",
138
+ "size": 53088,
139
+ "sha512": "f975db42b36e2fa2257add07d2578e69d6ae2db1dbcb95ecc5acdc125478a875b8f415f36a864bee021a4876de7b7a5d96998334a8e7261b8a8d70eea3ea3505",
140
+ "sha256": "c4f2762d81480d94819e4614974b2cc48cdb30dd642f5f41ef6f34cf4c8c62eb",
141
+ "sha1": "a33b4081624352f22acb92aca557d517d8c71230",
142
+ "md5": "43232c6b994aa62707fc93444f9c7d67"
143
143
  }
144
144
  ]
145
145
  }
@@ -0,0 +1 @@
1
+ 9417376d37c0968b5f7afcea49068ba156ac752fe1ef6b0e6608d6c83774ad7d
@@ -0,0 +1 @@
1
+ 0aaeb765ff81d10522b0df7f4a1f5c11e02d69262cba0df0b4a7fb9592f2888f9dca31f1d320732d8ba4fbba248937d6326203a2c75540157b6d42acfb96c533
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.video</artifactId>
12
- <version>2.2.0</version>
12
+ <version>2.2.2</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.video</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ d84503d8120e53ed771a44573972ce64411a5721
@@ -0,0 +1 @@
1
+ 5fd3113c3aa0268a60a477b588d13c9811af98d5bcc586b5fc14c362a2339092
@@ -0,0 +1 @@
1
+ 8fbd1782ccfad3d3525982111eeb4b12e3422ac7bfcdfd65af22956bdce3f701ce8106fef0ccbb1a2662a15f34c5e53adac651f27af2c585821ce8be95569626
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.video</artifactId>
5
5
  <versioning>
6
- <latest>2.2.0</latest>
7
- <release>2.2.0</release>
6
+ <latest>2.2.2</latest>
7
+ <release>2.2.2</release>
8
8
  <versions>
9
- <version>2.2.0</version>
9
+ <version>2.2.2</version>
10
10
  </versions>
11
- <lastUpdated>20250604230414</lastUpdated>
11
+ <lastUpdated>20250618190640</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- d7576712c099005e0070a39cce656ca6
1
+ 0e0fc95abac512b09e257bd8d6c5dcdc
@@ -1 +1 @@
1
- 52a901eebefa6fac0c034b76185f5386b9113588
1
+ cc6831afd35541a75752566714965d906c92307f
@@ -1 +1 @@
1
- 28ab1754acdffea060d818f3e54d1bfc0823de6c803276cf828c4371524eb793
1
+ 9816759f48af1f8c7d137b94f0716e987c4996b317449711a43a9e968a18adec
@@ -1 +1 @@
1
- 1eb28fa579897d17888ae6f4f6dc0f996daf6c967f6dba0e239386c00c42e399b4dce3b2a8274364679e4c562ccd3b619c4e3271b0a4ed695c29b5097711c710
1
+ f460c7210f64dab2879bbac8eaad1114c0ffc9ccad58aaea8968b3184639fbad547042e33377e797ae1126068821c2b6b49bd49aedcf850156d3ee507f725764
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-video",
3
3
  "title": "Expo Video",
4
- "version": "2.2.0",
4
+ "version": "2.2.2",
5
5
  "description": "A cross-platform, performant video component for React Native and Expo with Web support",
6
6
  "main": "build/index.js",
7
7
  "types": "build/index.d.ts",
@@ -38,5 +38,5 @@
38
38
  "react": "*",
39
39
  "react-native": "*"
40
40
  },
41
- "gitHead": "7638c800b57fe78f57cc7f129022f58e84a523c5"
41
+ "gitHead": "cc3b641cc2e4e7686dca75e7029cf76a07b3d647"
42
42
  }
@@ -1 +0,0 @@
1
- ff54e2221752092ebdece914b77e4504b2864fc94504c8a1887ea67a2afa5ea0
@@ -1 +0,0 @@
1
- c7c374ab88183e831ed5a80a5e7a6f9ef2d29d4157c7b9496e30a9f87b14c4952b1e867b29f8feedbab21badccdf1b751f3a20367d1970a5e814311d96618f0e
@@ -1 +0,0 @@
1
- 06203802abf1c39df7bef9bddb6cf7dda03e6300
@@ -1 +0,0 @@
1
- 0022fab08b59c4346e67a4bf573af546f4f0e7eb322aee1115335e035318fa2c
@@ -1 +0,0 @@
1
- a1501f7e947680eba85a049cf0520518bca4feca64832fbdc41383cb2c483f6253ecf8d429ad936966fcce1b0494175035399894dbce9c50f4765bd099edebf1
@@ -1 +0,0 @@
1
- 6c020a0af93440c2dfa817c46c65626c0be15fa5
@@ -1 +0,0 @@
1
- dc4736ff81e3bdb761a88697e35d0a7612f679f84daab0b6f4147510254413f2
@@ -1 +0,0 @@
1
- 8e05e96b0ea1f0b9c965ea20642b5654d498a8be3dadfe985675d0b0dbccb06b35dae83f2a0dde27019b678f7c73a8b1cb1dab61503a658150f6a4f55560348b
@@ -1 +0,0 @@
1
- 49d5a63d0c4fbfb5dc9f9d45ea1512c281f2a5a2
@@ -1 +0,0 @@
1
- af02050cf8898237faf34bc624abff592a33c4a86a34352ea485a4c3d00361f3
@@ -1 +0,0 @@
1
- 6354cc8b4f6fc7cdb027d5c6302584ed0d5f8c79c61b77921dd6ffe0f751a1465eae20c7ae3f505a19070ea5f57edcbaff7a6af19934124f740461e734dc0f96