Commit 4ebd6d2
authored
Handle EME key status errors such as "internal-error" and "output-restricted" before appending media (video-dev#7414)
* Handle EME key status errors before appending segments
Fixes video-dev#7413 (playback/switching fails on KEY_SYSTEM_STATUS_INTERNAL_ERROR 'internal-error' key status)
* Fix handling of one-to-many KEY URI to Key IDs
video-dev#7413
* Remove levels with "internal-error" key status errors and optimize key-bytes comparison
Add "FIXME" comments for future MediaKeySessionContext multi-key handling improvements
* Do not throw fatal keyLoadingPromise error when context changes on KEY_LOADING
reproducible with `hls.once(Hls.Events.KEY_LOADING, () => hls.removeLevel(hls.loadLevel))`1 parent f9a6dbf commit 4ebd6d2
File tree
18 files changed
+454
-278
lines changed- api-extractor/report
- src
- controller
- loader
- types
- utils
- tests/unit/controller
18 files changed
+454
-278
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | | - | |
| 1192 | + | |
| 1193 | + | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| 1207 | + | |
| 1208 | + | |
1207 | 1209 | | |
1208 | 1210 | | |
1209 | | - | |
| 1211 | + | |
1210 | 1212 | | |
1211 | 1213 | | |
1212 | 1214 | | |
| |||
1239 | 1241 | | |
1240 | 1242 | | |
1241 | 1243 | | |
| 1244 | + | |
| 1245 | + | |
1242 | 1246 | | |
1243 | 1247 | | |
1244 | 1248 | | |
| |||
2981 | 2985 | | |
2982 | 2986 | | |
2983 | 2987 | | |
2984 | | - | |
2985 | | - | |
| 2988 | + | |
| 2989 | + | |
2986 | 2990 | | |
2987 | 2991 | | |
2988 | 2992 | | |
| |||
2999 | 3003 | | |
3000 | 3004 | | |
3001 | 3005 | | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
3005 | | - | |
3006 | 3006 | | |
3007 | 3007 | | |
3008 | 3008 | | |
| |||
3278 | 3278 | | |
3279 | 3279 | | |
3280 | 3280 | | |
| 3281 | + | |
| 3282 | + | |
3281 | 3283 | | |
3282 | 3284 | | |
3283 | 3285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
| 122 | + | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
848 | 847 | | |
849 | 848 | | |
850 | 849 | | |
| |||
1040 | 1039 | | |
1041 | 1040 | | |
1042 | 1041 | | |
1043 | | - | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
1044 | 1045 | | |
1045 | 1046 | | |
1046 | | - | |
| 1047 | + | |
1047 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1048 | 1052 | | |
1049 | 1053 | | |
1050 | 1054 | | |
| |||
1826 | 1830 | | |
1827 | 1831 | | |
1828 | 1832 | | |
1829 | | - | |
| 1833 | + | |
1830 | 1834 | | |
1831 | 1835 | | |
1832 | 1836 | | |
| |||
2033 | 2037 | | |
2034 | 2038 | | |
2035 | 2039 | | |
2036 | | - | |
2037 | | - | |
| 2040 | + | |
| 2041 | + | |
2038 | 2042 | | |
2039 | 2043 | | |
2040 | 2044 | | |
| |||
0 commit comments