TRTCTranscodingConfig constructor
TRTCTranscodingConfig({
- int? appId,
- int? bizId,
- int mode = TRTCCloudDef.TRTC_TranscodingConfigMode_Unknown,
- int videoWidth = 0,
- int videoHeight = 0,
- int videoBitrate = 0,
- int videoFramerate = 15,
- int videoGOP = 2,
- int backgroundColor = 0x000000,
- String? backgroundImage,
- int audioSampleRate = 48000,
- int audioBitrate = 64,
- int audioChannels = 1,
- List<
TRTCMixUser> ? mixUsers, - 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});