Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 642273436
  • Loading branch information
gschoppe authored and IMA Developer Relations committed Jun 11, 2024
1 parent 1adde6b commit 0c2f54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-C/AdvancedExample/app/VideoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ - (void)viewWillDisappear:(BOOL)animated {
// Ignore this if we're presenting a modal view (e.g. in-app clickthrough).
if ([self.navigationController.viewControllers indexOfObject:self] == NSNotFound) {
// Don't save bookmark if we're playing a live stream.
if (self.video.streamType == StreamTypeLive) {
if (self.video.streamType != StreamTypeLive) {
NSTimeInterval contentTime = [self.streamManager
contentTimeForStreamTime:CMTimeGetSeconds(self.contentPlayer.currentTime)];
[self.delegate videoViewController:self didReportSavedTime:contentTime forVideo:self.video];
Expand Down

0 comments on commit 0c2f54c

Please sign in to comment.