@editframe/elements 0.12.0-beta.1 → 0.12.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,14 +123,16 @@ class MP4File extends MP4Box.ISOFile {
|
|
|
123
123
|
if (trak.nextSample >= trak.samples.length) {
|
|
124
124
|
trackInfoForFrag.complete = true;
|
|
125
125
|
}
|
|
126
|
-
log(
|
|
127
|
-
`Yielding fragment #${trackInfoForFrag.index} for track=${fragTrak.id}`
|
|
128
|
-
);
|
|
129
126
|
const startSample = fragmentStartSamples[fragTrak.id];
|
|
130
127
|
const endSample = trak.samples[trak.nextSample - 1];
|
|
131
128
|
if (!startSample || !endSample) {
|
|
132
129
|
throw new Error("startSample or endSample is undefined");
|
|
133
130
|
}
|
|
131
|
+
log(
|
|
132
|
+
`Yielding fragment #${trackInfoForFrag.index} for track=${fragTrak.id}`,
|
|
133
|
+
`startTime=${startSample.cts}`,
|
|
134
|
+
`endTime=${endSample.cts + endSample.duration}`
|
|
135
|
+
);
|
|
134
136
|
yield {
|
|
135
137
|
track: fragTrak.id,
|
|
136
138
|
segment: trackInfoForFrag.index,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editframe/elements",
|
|
3
|
-
"version": "0.12.0-beta.
|
|
3
|
+
"version": "0.12.0-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "UNLICENSED",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@editframe/assets": "0.12.0-beta.
|
|
23
|
+
"@editframe/assets": "0.12.0-beta.2",
|
|
24
24
|
"@lit/context": "^1.1.2",
|
|
25
25
|
"@lit/task": "^1.0.1",
|
|
26
26
|
"d3": "^7.9.0",
|