THEOplayer / react-native-theoplayer

A React Native THEOplayerView component
https://theoplayer.github.io/react-native-theoplayer/
MIT License
64 stars 21 forks source link

PlayerEventType.BUFFERING_CHANGE mentioned in docs doesn't exists #115

Closed bpkmatthiasv closed 1 year ago

bpkmatthiasv commented 1 year ago

Hello, the documentation mentions the PlayerEventType.BUFFERING_CHANGE event to listen to buffering changes but it is not part of the enum.

My aim was to detect buffering stalls, should I use the PlayerEventType.WAITING instead ?

Thanks in advance for your feedback

Matthias

tvanlaerhoven commented 1 year ago

@bpkmatthiasv you're right, this is a left over from the 1.8 API, thanks for point this out. We'll fix it.

tvanlaerhoven commented 1 year ago

Documentation was updated: https://github.com/THEOplayer/react-native-theoplayer/blob/develop/doc/theoplayerview-component.md Thanks @bpkmatthiasv