YouTubeKit icon indicating copy to clipboard operation
YouTubeKit copied to clipboard

'videoResolution' is inaccessible due to 'internal' protection level

Open Alanko5 opened this issue 2 years ago • 1 comments

'videoResolution' is inaccessible due to 'internal' protection level

Alanko5 avatar May 23 '23 14:05 Alanko5

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

Jeehut avatar Sep 12 '23 07:09 Jeehut