File tree 3 files changed +0
-8
lines changed
packages/media-parser/src/state
3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import type {PrefetchCache} from '../../fetch';
3
3
import type { LogLevel } from '../../log' ;
4
4
import type { ParseMediaSrc } from '../../options' ;
5
5
import type { ReaderInterface } from '../../readers/reader' ;
6
- import type { MediaSectionState } from '../video-section' ;
7
6
import { cachedSamplePositionsState } from './cached-sample-positions' ;
8
7
import { lazyMfraLoad } from './lazy-mfra-load' ;
9
8
import { moovState } from './moov-box' ;
@@ -17,15 +16,13 @@ export const isoBaseMediaState = ({
17
16
src,
18
17
logLevel,
19
18
prefetchCache,
20
- mediaSectionState,
21
19
} : {
22
20
contentLength : number ;
23
21
controller : MediaParserController ;
24
22
readerInterface : ReaderInterface ;
25
23
src : ParseMediaSrc ;
26
24
logLevel : LogLevel ;
27
25
prefetchCache : PrefetchCache ;
28
- mediaSectionState : MediaSectionState ;
29
26
} ) => {
30
27
return {
31
28
flatSamples : cachedSamplePositionsState ( ) ,
@@ -37,7 +34,6 @@ export const isoBaseMediaState = ({
37
34
src,
38
35
logLevel,
39
36
prefetchCache,
40
- mediaSectionState,
41
37
} ) ,
42
38
moof : precomputedMoofState ( ) ,
43
39
tfra : precomputedTfraState ( ) ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import {Log, type LogLevel} from '../../log';
6
6
import type { ParseMediaSrc } from '../../options' ;
7
7
import type { ReaderInterface } from '../../readers/reader' ;
8
8
import type { IsoBaseMediaSeekingHints } from '../../seeking-hints' ;
9
- import type { MediaSectionState } from '../video-section' ;
10
9
11
10
export const lazyMfraLoad = ( {
12
11
contentLength,
@@ -15,15 +14,13 @@ export const lazyMfraLoad = ({
15
14
src,
16
15
logLevel,
17
16
prefetchCache,
18
- mediaSectionState,
19
17
} : {
20
18
contentLength : number ;
21
19
controller : MediaParserController ;
22
20
readerInterface : ReaderInterface ;
23
21
src : ParseMediaSrc ;
24
22
logLevel : LogLevel ;
25
23
prefetchCache : PrefetchCache ;
26
- mediaSectionState : MediaSectionState ;
27
24
} ) => {
28
25
let prom : Promise < IsoBaseMediaBox [ ] | null > | null = null ;
29
26
let result : IsoBaseMediaBox [ ] | null = null ;
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ export const makeParserState = ({
163
163
src,
164
164
logLevel,
165
165
prefetchCache,
166
- mediaSectionState : mediaSection ,
167
166
} ) ,
168
167
mp3,
169
168
aac : aacState ( ) ,
You can’t perform that action at this time.
0 commit comments