From ccd9894910e01ccd59d4bad8384843f27db0e057 Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Tue, 5 Apr 2022 12:34:41 -0700 Subject: [PATCH 1/2] Fix iOS 15.4 race condition --- ios/Video/RCTVideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/RCTVideo.m b/ios/Video/RCTVideo.m index a757c08a..cecc5fb3 100644 --- a/ios/Video/RCTVideo.m +++ b/ios/Video/RCTVideo.m @@ -1064,8 +1064,8 @@ static int const RCTVideoUnset = -1; [self setSelectedTextTrack:_selectedTextTrack]; [self setResizeMode:_resizeMode]; [self setRepeat:_repeat]; - [self setPaused:_paused]; [self setControls:_controls]; + [self setPaused:_paused]; [self setAllowsExternalPlayback:_allowsExternalPlayback]; } From 0e3de8497278b03c0d1581fc1e433e82f939cc0c Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Tue, 5 Apr 2022 12:45:53 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc7f5943..2b500675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ### Version 5.2.1 -- Add Google's maven repository to avoid build error [#2552] (https://github.com/react-native-video/react-native-video/pull/2552) +- Add Google's maven repository to avoid build error [#2552] (https://github.com/react-native-video/react-native-video/pull/2552) +- Fix iOS 15.4 HLS playback race condition [#2633](#https://github.com/react-native-video/react-native-video/pull/2633) ### Version 5.2.0