TRTCTranscodingConfig constructor

TRTCTranscodingConfig({
  1. int? appId,
  2. int? bizId,
  3. int mode = TRTCCloudDef.TRTC_TranscodingConfigMode_Unknown,
  4. int videoWidth = 0,
  5. int videoHeight = 0,
  6. int videoBitrate = 0,
  7. int videoFramerate = 15,
  8. int videoGOP = 2,
  9. int backgroundColor = 0x000000,
  10. String? backgroundImage,
  11. int audioSampleRate = 48000,
  12. int audioBitrate = 64,
  13. int audioChannels = 1,
  14. List<TRTCMixUser>? mixUsers,
  15. String? streamId,
})

Implementation

TRTCTranscodingConfig(
    {this.appId,
    this.bizId,
    this.mode = TRTCCloudDef.TRTC_TranscodingConfigMode_Unknown,
    this.videoWidth = 0,
    this.videoHeight = 0,
    this.videoBitrate = 0,
    this.videoFramerate = 15,
    this.videoGOP = 2,
    this.backgroundColor = 0x000000,
    this.backgroundImage,
    this.audioSampleRate = 48000,
    this.audioBitrate = 64,
    this.audioChannels = 1,
    this.mixUsers,
    this.streamId});