ModernAVPlayer icon indicating copy to clipboard operation
ModernAVPlayer copied to clipboard

Add seekableTimeRanages didChange to ModernAVPlayerDelegate

Open yaroslavlvov opened this issue 5 years ago • 0 comments

Would be nice to have a callback that indicates seekableTimeRanages changed for the current item, would be useful to update min and max for seek bar accordingly, instead of relying on asset duration. Super useful for lives which have sliding DVR window and I need to display UI accordingly

Proposed solution: extend current delegate api with func

    func modernAVPlayer(_ player: ModernAVPlayer, didSeekableTimeRangesChange range: (start: Double, end: Double))

yaroslavlvov avatar Dec 28 '20 13:12 yaroslavlvov