4

I have created the video player with react-native-video, but now i have to add a quality selector to that player,how should i do that.

  • Did you find any solution? I am facing the same issue. Please post your answer if you find any, this will help alot of developers. – Faisal Shaikh Feb 12 '22 at 22:32

1 Answers1

0

https://github.com/react-native-community/react-native-video#selectedvideotrack

In the documentation there is resolution value, you can change it manually by creating a simple function and assigning the value to it.

 selectedVideoTrack={{
  type: "resolution",
  value: 480
}}
Dharman
  • 30,962
  • 25
  • 85
  • 135
Bora Sumer
  • 788
  • 6
  • 17