类的使用
com.baidubce.services.lss.model.Hls
-
使用Hls的程序包 程序包 说明 com.baidubce.services.lss com.baidubce.services.lss.model -
-
com.baidubce.services.lss中Hls的使用
参数类型为Hls的com.baidubce.services.lss中的方法 修饰符和类型 方法 说明 CreatePresetResponseLssClient. createForwardOnlyPreset(String name, String description, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks)Create a live preset which contains parameters needed in the live stream service, and in forward only mode, in which the input stream's resolution ratio and code rate will be kept unchanged.CreatePresetResponseLssClient. createPreset(String name, String description, Audio audio, Video video, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks)Create a live preset which contains parameters needed in the live stream service, and not in forward only mode, so that the input stream will be transcoded according to audio and video parameters. -
com.baidubce.services.lss.model中Hls的使用
返回Hls的com.baidubce.services.lss.model中的方法 修饰符和类型 方法 说明 HlsCreatePresetRequest. getHls()Returns the HLS settings.HlsGetPresetResponse. getHls()hls输出参数HlsLivePreset. getHls()hls输出参数HlsHls. withAdaptive(Boolean adaptive)HlsHls. withSegmentListSize(Integer segmentListSize)HlsHls. withSegmentTimeInSecond(Integer segmentTimeInSecond)参数类型为Hls的com.baidubce.services.lss.model中的方法 修饰符和类型 方法 说明 voidCreatePresetRequest. setHls(Hls hls)Sets the HLS settings.voidGetPresetResponse. setHls(Hls hls)voidLivePreset. setHls(Hls hls)CreatePresetRequestCreatePresetRequest. withHls(Hls hls)Sets the HLS settings and returns this object.LivePresetLivePreset. withHls(Hls hls)
-