Skip to content

Add boundary time observer similar to iOS AVPlayer SDK #95

Closed
@velocitysystems

Description

We love MediaPlayerExtended and use it extensively in our app!
Recently, we have a new use case where we wish to play clips or segments from full-length media files.

One of the challenges however, is detecting when the end of the clip occurs.
MediaPlayer has OnCompletionListener but this only fires at the end of full-length playback.

What is the feasibility of adding something similar to addBoundaryTimeObserver on iOS?
Apple SDK Documentation

ie. While MPE is decoding frames, you can set a time point at which you want the player to fire an event. You could then use this to listen for the end time for a video clip and respond accordingly.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions