TheWidlarzGroup/react-native-video

[BUG]: onBandwidthUpdate does not work on HLS iOS.

Open

#4,153 建立於 2024年9月9日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Kotlin (3,027 fork)batch import
AcceptedMissing ReproNewer Version AvailablePlatform: iOSV6bugdifficulty: easygood first issuepriority: lowtriaged

倉庫指標

Star
 (7,677 star)
PR 合併指標
 (平均合併 2天 3小時) (30 天內合併 11 個 PR)

描述

What happened?

onBandwidthUpdate does not work on HLS (.m3u8) sources on iOS. It does work as expected on MP4 files.

Steps to reproduce

  1. Set up a <Video> component on iOS with an onBandwidthUpdate callback handler.
  2. Use an HLS .m3u8 source, e.g. https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master_928.m3u8.
  3. Play the stream and observe that onBandwidthUpdate is never called.
  4. Switch the source to an MP4 file and observe that onBandwidthUpdate fires 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)

貢獻者指南