Skip to content

Commit

Permalink
Mitigate resume playback issues with RTS streams
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos committed Mar 26, 2021
1 parent c5abea8 commit 13b6921
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Application/Sources/History/History.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ float HistoryPlaybackProgress(NSTimeInterval playbackPosition, double durationIn
return nil;
}

return [SRGPosition positionBeforeTime:historyEntry.lastPlaybackTime];
// TODO: Fix stream issues (see https://github.com/SRGSSR/srgletterbox-apple/issues/245) then restore `positionBeforeTime:`
// which was the initially desired behavior.
return [SRGPosition positionAtTime:historyEntry.lastPlaybackTime];
}

BOOL HistoryCanResumePlaybackForMedia(SRGMedia *media)
Expand Down

0 comments on commit 13b6921

Please sign in to comment.