Ignore startRange error
This commit is contained in:
@@ -58,6 +58,7 @@ export function createSegmentCacheKey(
|
||||
if (isInit && format) {
|
||||
return `${mediaHeader.itag}:${mediaHeader.xtags || ''}:${format.content_length || ''}:${format.mime_type || ''}`;
|
||||
}
|
||||
/* @ts-ignore */
|
||||
return `${mediaHeader.startRange || '0'}-${mediaHeader.itag}-${mediaHeader.xtags || ''}`;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ export class HttpFetchPlugin {
|
||||
const headers = new HttpFetchPlugin.Headers_();
|
||||
|
||||
HttpFetchPlugin.asMap(request.headers).forEach((value, key) => {
|
||||
headers.append(key as string, value);
|
||||
headers.append(key as string, value as string);
|
||||
});
|
||||
|
||||
let sabrStreamingContext: string | null = null;
|
||||
|
||||
Reference in New Issue
Block a user