package ctbrec.recorder.download.hls;

import java.util.ArrayList;
import java.util.List;

public class SegmentPlaylist {
    public String url;
    public int seq = 0;
    public float totalDuration = 0;
    public float avgSegDuration = 0;
    public float targetDuration = 0;
    public List<String> segments = new ArrayList<>();
    public boolean encrypted = false;
    public String encryptionMethod = "AES-128";
    public String encryptionKeyUrl;

    public SegmentPlaylist(String url) {
        this.url = url;
    }
}
