Playing HEVC served over HLS on iOS

Hello.
I'm trying to play HEVC live stream over HLS on my iPhone 8 ios 14 with VideoPlayer (or AVPlayerViewController)
H.264 is playing fine, but I can't get any HEVC stream to play.
I tried od device iPhone 8 with ios14 and iPhone 6s with iOS14 and also emulator (iphone 8 with iOS14) but none seem to work.
What am I missing?

That's what stream looks like.
Code Block #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:420350
#EXTINF:4.320000,
file420350.ts
#EXTINF:3.840000,
file420351.ts
#EXTINF:3.840000,
file420352.ts
#EXTINF:4.320000,
file420353.ts
#EXTINF:3.840000,
file420354.ts


And this is from ffprobe

ffprobe.exe -show_format -timeout 10000 -loglevel trace "STREAM URL"


Code Block
...
Input #0, hls, from 'STREAM_URL':
Duration: N/A, start: 71357.966733, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0, 23, 1/90000: Video: hevc (Main), 1 reference frame (HEVC / 0x43564548), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, 50 fps, 50 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 0
Stream #0:1, 9, 1/90000: Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 0
...
message repeated 1 times
filename=STREAMURL
nb_streams=2
nb_programs=1
format_name=hls
format_long_name=Apple HTTP Live Streaming
start_time=71357.966733
duration=N/A
size=238
bit_rate=N/A
probe_score=100

Thanks in advance and happy new year :)

Accepted Reply

I found the solution. Apple does not and will not support TS files, only fMP4 is supported

Answer from official apple member: https://developer.apple.com/forums/thread/132291

Replies

I found the solution. Apple does not and will not support TS files, only fMP4 is supported

Answer from official apple member: https://developer.apple.com/forums/thread/132291