|
@@ -333,7 +333,7 @@ export class PlaybackManager implements IPlaybackParametersListener {
|
|
}
|
|
}
|
|
|
|
|
|
public async play(): Promise<void> {
|
|
public async play(): Promise<void> {
|
|
- if (this.cursorIterator !== undefined && this.cursorIterator.EndReached) {
|
|
|
|
|
|
+ if (this.cursorIterator !== undefined && this.cursorIterator.EndReached && this.currentTimestamp.gte(this.cursorIterator.CurrentEnrolledTimestamp)) {
|
|
console.log("End reached, resetting");
|
|
console.log("End reached, resetting");
|
|
this.reset();
|
|
this.reset();
|
|
}
|
|
}
|