mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2a72f0256e
commit
048ba20590
26 changed files with 1377 additions and 136 deletions
|
@ -18,10 +18,11 @@ class DummyRemuxer {
|
|||
insertDiscontinuity() {
|
||||
}
|
||||
|
||||
remux(audioTrack,videoTrack,id3Track,timeOffset) {
|
||||
remux(audioTrack,videoTrack,id3Track,textTrack,timeOffset) {
|
||||
this._remuxAACSamples(audioTrack,timeOffset);
|
||||
this._remuxAVCSamples(videoTrack,timeOffset);
|
||||
this._remuxID3Samples(id3Track,timeOffset);
|
||||
this._remuxTextSamples(textTrack,timeOffset);
|
||||
}
|
||||
|
||||
_remuxAVCSamples(track, timeOffset) {
|
||||
|
@ -59,6 +60,17 @@ class DummyRemuxer {
|
|||
//please lint
|
||||
timeOffset = timeOffset;
|
||||
}
|
||||
|
||||
_remuxTextSamples(track,timeOffset) {
|
||||
var textSample,bytes;
|
||||
// loop through track.samples
|
||||
while (track.samples.length) {
|
||||
textSample = track.samples.shift();
|
||||
bytes = textSample.bytes;
|
||||
}
|
||||
//please lint
|
||||
timeOffset = timeOffset;
|
||||
}
|
||||
}
|
||||
|
||||
export default DummyRemuxer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue