Merge pull request #2633 from hueniverse/master

Fix iOS 15.4 race condition (HLS playback)
This commit is contained in:
Eran Hammer 2022-04-15 13:30:41 -07:00 committed by GitHub
commit f61f9df833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
### Version 5.2.1 ### 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 ### Version 5.2.0

View File

@ -1064,8 +1064,8 @@ static int const RCTVideoUnset = -1;
[self setSelectedTextTrack:_selectedTextTrack]; [self setSelectedTextTrack:_selectedTextTrack];
[self setResizeMode:_resizeMode]; [self setResizeMode:_resizeMode];
[self setRepeat:_repeat]; [self setRepeat:_repeat];
[self setPaused:_paused];
[self setControls:_controls]; [self setControls:_controls];
[self setPaused:_paused];
[self setAllowsExternalPlayback:_allowsExternalPlayback]; [self setAllowsExternalPlayback:_allowsExternalPlayback];
} }