0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.92k stars 626 forks source link

change video quality while video is playing or streaming? #330

Closed kuldeep13990 closed 7 years ago

kuldeep13990 commented 7 years ago

i want to change video quality as per user selection while video is playing like youtube.

i change quality by below code.

videoPlayerViewController.preferredVideoQualities = @[@(XCDYouTubeVideoQualityMedium360)];

but there's no reflection in video quality in video player.

how to refresh videoPlayer so it can play with changed quality?

0xced commented 7 years ago

I want to change video quality as per user selection while video is playing like youtube.

This has already been discussed in #57 and #311 and the answer is basically: you can’t. Sorry.