类的使用
com.baidubce.services.lss.model.Rtmp
-
使用Rtmp的程序包 程序包 说明 com.baidubce.services.lss com.baidubce.services.lss.model -
-
com.baidubce.services.lss中Rtmp的使用
参数类型为Rtmp的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中Rtmp的使用
返回Rtmp的com.baidubce.services.lss.model中的方法 修饰符和类型 方法 说明 RtmpCreatePresetRequest. getRtmp()Returns the RTMP settings.RtmpGetPresetResponse. getRtmp()rtmp参数RtmpLivePreset. getRtmp()rtmp参数RtmpRtmp. withGopCache(Boolean gopCache)参数类型为Rtmp的com.baidubce.services.lss.model中的方法 修饰符和类型 方法 说明 voidCreatePresetRequest. setRtmp(Rtmp rtmp)Sets the RTMP settings.voidGetPresetResponse. setRtmp(Rtmp rtmp)voidLivePreset. setRtmp(Rtmp rtmp)CreatePresetRequestCreatePresetRequest. withRtmp(Rtmp rtmp)Sets the RTMP settings and returns this object.LivePresetLivePreset. withRtmp(Rtmp rtmp)
-