YouTubeKit
YouTubeKit copied to clipboard
'videoResolution' is inaccessible due to 'internal' protection level
'videoResolution' is inaccessible due to 'internal' protection level
I just needed to access videoResolution as well for the following code:
let maxResolution = 1080
streams.filter { $0.itag.videoResolution <= maxResolution }.highestResolutionStream()
So I've made the field available publicly via #22 (use the main branch in my fork until merged).