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.
Asked
Active
Viewed 1,483 times
4
-
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 Answers
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
-
but to change the resolution we should have ui to select the quality. – Rijwan Pathan Sep 04 '20 at 13:19
-
-