TRTCPublishTarget constructor

TRTCPublishTarget(
  1. {TRTCPublishMode mode = TRTCPublishMode.unknown,
  2. List<TRTCPublishCdnUrl>? cdnUrlList,
  3. TRTCUser? mixStreamIdentity}
)

Implementation

TRTCPublishTarget({
  this.mode = TRTCPublishMode.unknown,
  List<TRTCPublishCdnUrl>? cdnUrlList,
  TRTCUser? mixStreamIdentity,
}) : cdnUrlList = cdnUrlList ?? const <TRTCPublishCdnUrl>[],
      mixStreamIdentity = mixStreamIdentity ?? TRTCUser();