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 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]; }