public class Hls extends Object implements Serializable
| Constructor and Description |
|---|
Hls() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAdaptive()
是否需要自适应码率
|
Integer |
getSegmentListSize()
m3u8文件中切片的个数
|
Integer |
getSegmentTimeInSecond()
hls分片的长度
|
void |
setAdaptive(Boolean adaptive) |
void |
setSegmentListSize(Integer segmentListSize) |
void |
setSegmentTimeInSecond(Integer segmentTimeInSecond) |
String |
toString() |
Hls |
withAdaptive(Boolean adaptive) |
Hls |
withSegmentListSize(Integer segmentListSize) |
Hls |
withSegmentTimeInSecond(Integer segmentTimeInSecond) |
public Integer getSegmentTimeInSecond()
public void setSegmentTimeInSecond(Integer segmentTimeInSecond)
public Integer getSegmentListSize()
public void setSegmentListSize(Integer segmentListSize)
public Boolean getAdaptive()
public void setAdaptive(Boolean adaptive)
Copyright © 2023. All rights reserved.