TheWidlarzGroup/react-native-video
View on GitHub[BUG]: onBandwidthUpdate does not work on HLS iOS.
Open
#4,153 opened on Sep 9, 2024
AcceptedMissing ReproNewer Version AvailablePlatform: iOSV6bugdifficulty: easygood first issuepriority: lowtriaged
Repository metrics
- Stars
- (7,677 stars)
- PR merge metrics
- (Avg merge 2d 3h) (11 merged PRs in 30d)
Description
What happened?
onBandwidthUpdate does not work on HLS (.m3u8) sources on iOS. It does work as expected on MP4 files.
Steps to reproduce
- Set up a
<Video>component on iOS with anonBandwidthUpdatecallback handler. - Use an HLS
.m3u8source, e.g.https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master_928.m3u8. - Play the stream and observe that
onBandwidthUpdateis never called. - Switch the source to an MP4 file and observe that
onBandwidthUpdatefires correctly.
Reproduction repository
No response
react-native-video version
6.5.0
react-native version
No response
react-native-nitro-modules version
No response
Platforms
iOS
OS version
17.4
Device
Simulator / Emulator
Architecture
Old Architecture
Expo
No response
Last working version
No response
Media / source type
HLS (.m3u8)