Package io.agora.rtc2

Class EncodedVideoTrackOptions

java.lang.Object
io.agora.rtc2.EncodedVideoTrackOptions

public class EncodedVideoTrackOptions extends Object
The channel media options.
  • Field Details

    • ccMode

      public int ccMode
      Whether to enable CC mode. - TCC_ENABLED = 0: (Default) enable cc. - TCC_DISABLED = 1: disable cc.
    • codecType

      public int codecType
      The 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 targetBitrate
      Target 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()