TrackPublication<T extends Track> constructor

TrackPublication<T extends Track>(
  1. {required TrackInfo info}
)

Implementation

TrackPublication({
  required lk_models.TrackInfo info,
})  : sid = info.sid,
      name = info.name,
      kind = info.type,
      source = info.source.toLKType(),
      _simulcasted = info.simulcast,
      _mimeType = info.mimeType {
  updateFromInfo(info);
}