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.
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.
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
}}