THEOplayer / react-native-theoplayer

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

Fix/Android TV: disable remote controls rw/ff for live #321

Closed kot331107 closed 6 months ago

kot331107 commented 6 months ago

Summary: This PR disables "skip forward/rewind" on remote control for live on Android TV as pressing it makes player buffering live content. Also adds minor improvements to the Kt codebase

Test-Plan:

  1. Run test app on Android TV
  2. Watch live stream
  3. Press the fast forward or rewind button on the remote control.

Expected: it continues playback, doesn't reloads/show spinner, doesn't stop playback Before the fix: it buffers content but doesn't actually seek