-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The flag isNativelyPlayable is returning a wrong value #38
Comments
Thank you very much for the remark about codec compatibility. Will look into it - especially to have better testing for this. Regarding your first remark about |
@joaodordio follow-up question regarding codecs. Can you maybe provide me with a sample YouTube video that has 42001E streams. I only get 4D401F and 4D4020 - and they seem to work. |
You can try this one: |
Thanks. I was able to get at least one 42001E stream now, but the stream was playable on the tvOS Simulator (I don't own a real one). Up to this point, the simulator has always matched the codec compatibility with the real device, so I'm not 100% sure. Also, I couldn't find anything hinting at any incompatibility - one Stack Overflow article even insinuated it works for them. So my question is: Did you test it on a real tvOS device or in the Simulator? And if it was a real one, could you maybe test it on the Simulator and tell me if playback works for you or not? |
On the
Stream
model, theisNativelyPlayable
flag is returningtrue
even if thevideoCodec
or theaudioCodec
arenil
.A better default value would be
false
.Additionally, the video codec AVC1: 42001E is not compatible with the Apple TV platform, only the AVC1: 64001F.
AVC1: 42001E Stream:
AVC1: 64001F Stream:
Right now my implementation to filter the streams for playback on Apple TV using AVPlayer, looks like this:
The text was updated successfully, but these errors were encountered: