TRTCStreamEncoderParam constructor

TRTCStreamEncoderParam(
  1. {int videoEncodedWidth = 0,
  2. int videoEncodedHeight = 0,
  3. int videoEncodedFPS = 0,
  4. int videoEncodedGOP = 0,
  5. int videoEncodedKbps = 0,
  6. int audioEncodedSampleRate = 0,
  7. int audioEncodedChannelNum = 0,
  8. int audioEncodedKbps = 0,
  9. int audioEncodedCodecType = 0,
  10. int videoEncodedCodecType = 0,
  11. String videoSeiParams = ""}
)

Implementation

TRTCStreamEncoderParam({
  this.videoEncodedWidth = 0,
  this.videoEncodedHeight = 0,
  this.videoEncodedFPS = 0,
  this.videoEncodedGOP = 0,
  this.videoEncodedKbps = 0,
  this.audioEncodedSampleRate = 0,
  this.audioEncodedChannelNum = 0,
  this.audioEncodedKbps = 0,
  this.audioEncodedCodecType = 0,
  this.videoEncodedCodecType = 0,
  this.videoSeiParams = "",
});