@stinkycomputing/sesame-api-client 1.4.1-beta.13 → 1.4.1-beta.15
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.
- package/dist/command-list.d.ts +1 -1
- package/dist/command-list.d.ts.map +1 -1
- package/dist/index.browser.mjs +5 -5
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +2 -2
- package/docs/protocol-reference.md +481 -483
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21884,7 +21884,7 @@ var CommandList = class {
|
|
|
21884
21884
|
};
|
|
21885
21885
|
return this.add(item, timeOffsetMs);
|
|
21886
21886
|
}
|
|
21887
|
-
playlistLoad(sourceId, playlist) {
|
|
21887
|
+
playlistLoad(sourceId, playlist, startTimeUs, startIndex, materialPosUs, timeOffsetMs) {
|
|
21888
21888
|
const item = new sesame.v1.commands.CommandListItem();
|
|
21889
21889
|
const loadPlaylistCmd = {
|
|
21890
21890
|
items: playlist.clips.map((clip) => ({
|
|
@@ -21900,12 +21900,12 @@ var CommandList = class {
|
|
|
21900
21900
|
})),
|
|
21901
21901
|
sourceId,
|
|
21902
21902
|
userPlaylistId: playlist.id,
|
|
21903
|
-
startTimeUs
|
|
21904
|
-
startIndex
|
|
21905
|
-
materialPosUs
|
|
21903
|
+
startTimeUs,
|
|
21904
|
+
startIndex,
|
|
21905
|
+
materialPosUs
|
|
21906
21906
|
};
|
|
21907
21907
|
item.loadPlaylist = loadPlaylistCmd;
|
|
21908
|
-
return this.add(item, 0);
|
|
21908
|
+
return this.add(item, timeOffsetMs ?? 0);
|
|
21909
21909
|
}
|
|
21910
21910
|
playlistEject(sourceId) {
|
|
21911
21911
|
const item = new sesame.v1.commands.CommandListItem();
|