HLS #EXT-X-ALLOW-CACHE deprecated
andrew867 opened this issue · comments
From Apple's mediastreamvalidator:
--------------------------------------------------------------------------------
SHOULD fix issues
--------------------------------------------------------------------------------
Warning: #EXT-X-ALLOW-CACHE has been deprecated
--> Detail: Line: #EXT-X-ALLOW-CACHE:YES
--> Source: hls/HLSTest.m3u8
It looks like it is hardcoded:
srs/trunk/src/app/srs_app_hls.cpp
Line 867 in a613eb7
Would be great to make an option in the HLS config to disable or enable output of that line in HLS m3u8 playlists.
Why deprecated?
Will it cause any problem? Or just a warning? Or is there any substitution for this field?
It appears that it was deprecated in v7 and removed from the draft in v14 https://tools.ietf.org/html/draft-pantos-http-live-streaming-14#section-7 with no direct replacement.
It seems we can remove it.
I will remove it from SRS3.