com.byteplus.model.live.v20230101.UpdateHLSConfigBody Maven / Gradle / Ivy
package com.byteplus.model.live.v20230101;
import com.alibaba.fastjson.JSON;
/**
* UpdateHLSConfigBody
*/
@lombok.Data
public final class UpdateHLSConfigBody {
/**
* 域名空间
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Vhost")
private String vhost;
/**
* 应用名称
*/
@com.alibaba.fastjson.annotation.JSONField(name = "App")
private String app;
/**
* 服务类型
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ServiceType")
private String serviceType;
/**
* TODO
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Interval")
private Float interval;
/**
* 切片最大大小,单位byte,默认 524288000
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MaxSize")
private Integer maxSize;
/**
* 切片最大帧数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MaxFrame")
private Integer maxFrame;
/**
* m3u8的ts个数,默认3个
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PlaylistLength")
private Integer playlistLength;
/**
* ts缓存时间,单位s,默认60s
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TsExpiration")
private Integer tsExpiration;
/**
* 开启预取,默认false
*/
@com.alibaba.fastjson.annotation.JSONField(name = "EnablePrefetch")
private Boolean enablePrefetch;
/**
* 预取ts个数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PrefetchNum")
private Integer prefetchNum;
/**
* ts存储位置
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Path")
private String path;
/**
* ts文件后缀
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Suffix")
private String suffix;
/**
* 首个m3u8 ts的个数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "FirstPlaylistLength")
private Integer firstPlaylistLength;
/**
* 永久存储ts,默认为true,也就是清零
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CleanUp")
private Boolean cleanUp;
/**
* 时间戳置零,默认为false
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CopyTs")
private Boolean copyTs;
/**
* 时间戳gap,默认5s
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Gap")
private Integer gap;
/**
* 可选枚举值 "audio\_only" "video\_only "video\_keyframe\_only" "video\_single\_keyframe\_only"
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PacketFilter")
private String packetFilter;
/**
* json配置,通过json的方式添加时填写
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Config")
private String config;
/**
* TODO
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PartTargetDuration")
private Float partTargetDuration;
/**
* TODO
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PDTInterval")
private Float pDTInterval;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}