All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.lindstrom.m3u8.model.MediaPlaylist Maven / Gradle / Ivy

There is a newer version: 0.28
Show newest version
package io.lindstrom.m3u8.model;

import org.immutables.value.Value;

import java.util.List;
import java.util.Optional;

/**
 * Media Playlist interface
 */
@Value.Immutable
public interface MediaPlaylist extends Playlist {
    int targetDuration();

    @Value.Default
    default int mediaSequence() {
        return 0;
    }

    @Value.Default
    default boolean ongoing() {
        return true;
    }

    Optional playlistType();

    @Value.Default
    default boolean iFramesOnly() {
        return false;
    }

    List mediaSegments();

    static Builder builder() {
        return new Builder();
    }

    class Builder extends MediaPlaylistBuilder {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy