Skip to content

Update NRTrackerExoPlayer to obtain isLive attribute from the player #34

Open
@asllop

Description

@asllop

The media3 BasePlayer supports isCurrentMediaItemLive(), which returns whether the current media item is live. We can update the NRTrackerExoPlayer to get this attribute OOTB:

    @Override
    public Boolean getIsLive() {
        return player != null && player.isCurrentMediaItemLive();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions