Package io.agora.rtc2
Class EncodedVideoTrackOptions
java.lang.Object
io.agora.rtc2.EncodedVideoTrackOptions
The channel media options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintWhether to enable CC mode.intThe codec type used for the encoded images.intTarget bitrate (Kbps) for sending encoded video frame. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ccMode
public int ccModeWhether to enable CC mode. - TCC_ENABLED = 0: (Default) enable cc. - TCC_DISABLED = 1: disable cc. -
codecType
public int codecTypeThe codec type used for the encoded images. - VIDEO_CODEC_VP8 = 1: VP8. - VIDEO_CODEC_H264 = 2: H.264. - VIDEO_CODEC_H265 = 3: (Default)H.265. - VIDEO_CODEC_VP9 = 13: VP9. - VIDEO_CODEC_GENERIC = 6: GENERIC. - VIDEO_CODEC_GENERIC_H264 = 7: GENERIC_H264. - VIDEO_CODEC_GENERIC_JPEG = 20: GENERIC_JPEG. -
targetBitrate
public int targetBitrateTarget bitrate (Kbps) for sending encoded video frame.
-
-
Constructor Details
-
EncodedVideoTrackOptions
public EncodedVideoTrackOptions()
-
-
Method Details
-
getCcMode
public int getCcMode() -
getCodecType
public int getCodecType() -
getTargetBitrate
public int getTargetBitrate()
-