@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.mjs
CHANGED
|
@@ -21827,7 +21827,7 @@ var CommandList = class {
|
|
|
21827
21827
|
};
|
|
21828
21828
|
return this.add(item, timeOffsetMs);
|
|
21829
21829
|
}
|
|
21830
|
-
playlistLoad(sourceId, playlist) {
|
|
21830
|
+
playlistLoad(sourceId, playlist, startTimeUs, startIndex, materialPosUs, timeOffsetMs) {
|
|
21831
21831
|
const item = new sesame.v1.commands.CommandListItem();
|
|
21832
21832
|
const loadPlaylistCmd = {
|
|
21833
21833
|
items: playlist.clips.map((clip) => ({
|
|
@@ -21843,12 +21843,12 @@ var CommandList = class {
|
|
|
21843
21843
|
})),
|
|
21844
21844
|
sourceId,
|
|
21845
21845
|
userPlaylistId: playlist.id,
|
|
21846
|
-
startTimeUs
|
|
21847
|
-
startIndex
|
|
21848
|
-
materialPosUs
|
|
21846
|
+
startTimeUs,
|
|
21847
|
+
startIndex,
|
|
21848
|
+
materialPosUs
|
|
21849
21849
|
};
|
|
21850
21850
|
item.loadPlaylist = loadPlaylistCmd;
|
|
21851
|
-
return this.add(item, 0);
|
|
21851
|
+
return this.add(item, timeOffsetMs ?? 0);
|
|
21852
21852
|
}
|
|
21853
21853
|
playlistEject(sourceId) {
|
|
21854
21854
|
const item = new sesame.v1.commands.CommandListItem();
|