diff --git a/packages/player/src/internal/helpers/streaming-session-store.ts b/packages/player/src/internal/helpers/streaming-session-store.ts index b2ffd79e..26cd21ab 100644 --- a/packages/player/src/internal/helpers/streaming-session-store.ts +++ b/packages/player/src/internal/helpers/streaming-session-store.ts @@ -108,7 +108,11 @@ class StreamingSessionStore { return; } - mediaProductTransition.playbackContext.actualDuration = updatedDuration; + mediaProductTransition.playbackContext = { + ...mediaProductTransition.playbackContext, + actualDuration: updatedDuration, + }; + this.saveMediaProductTransition(streamingSessionId, mediaProductTransition); }