You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`The loading context changed while buffering fragment${chunkMeta.sn} of ${this.playlistLabel()}${chunkMeta.level}. This chunk will not be buffered.`,
2041
+
this.log(
2042
+
`Loading context changed while buffering sn${chunkMeta.sn} of ${this.playlistLabel()}${chunkMeta.level===-1 ? '<removed>' : chunkMeta.level}. This chunk will not be buffered.`,
decryptdata: LevelKey;// FIXME: LevelKey has a URI which should be bound to the session, but is dependent one KeyId specifically. Session context should be allowed to adopt multiple level keys.
59
59
mediaKeysSession: MediaKeySession;
60
-
keyStatus: MediaKeyStatus;
60
+
keyStatus: MediaKeyStatus;// FIXME: MediaKeySession can manage multiple keys with each with its own status
Copy file name to clipboardExpand all lines: src/controller/error-controller.ts
+5-12Lines changed: 5 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -496,7 +496,7 @@ export default class ErrorController
496
496
return;
497
497
}
498
498
const{ flags }=errorAction;
499
-
letnextAutoLevel=errorAction.nextAutoLevel;
499
+
constnextAutoLevel=errorAction.nextAutoLevel;
500
500
501
501
switch(flags){
502
502
caseErrorActionFlags.None:
@@ -526,27 +526,20 @@ export default class ErrorController
526
526
if(levelKey){
527
527
// Penalize all levels with key
528
528
constlevels=this.hls.levels;
529
-
letlevelIndex=hls.loadLevel;
530
-
constremoveLevels: number[]=[];
531
529
for(leti=levels.length;i--;){
532
530
if(this.variantHasKey(levels[i],levelKey)){
533
531
this.log(
534
-
`Banned key found in level ${i} or audio group "${levels[i].audioGroups?.join(',')}" (${data.frag?.type} fragment) ${arrayToHex(levelKey.keyId||[])}`,
532
+
`Banned key found in level ${i}(${levels[i].bitrate}bps) or audio group "${levels[i].audioGroups?.join(',')}" (${data.frag?.type} fragment) ${arrayToHex(levelKey.keyId||[])}`,
0 commit comments