-
Locate Player Activity: Open the Player activity.java file in your project.
-
Find YouTube Extractor Method: Look for the method where the YouTubeExtractor is used. This method typically handles the extraction of YouTube video URLs.
-
Edit YouTube Extractor Method: Within the YouTubeExtractor method, locate the section where the extraction is complete and the video URLs are obtained.
-
Set Desired Quality: Instead of using the default quality (itag 18), specify the desired quality level. In this case, set the itag variable to 22 for higher quality.
Screenshots : https://prnt.sc/KR3-Y1I4O7kl