updateFromInfo method

void updateFromInfo(
  1. TrackInfo info
)

Implementation

void updateFromInfo(lk_models.TrackInfo info) {
  _simulcasted = info.simulcast;
  _mimeType = info.mimeType;
  if (info.type == lk_models.TrackType.VIDEO) {
    _dimensions = VideoDimensions(info.width, info.height);
  }
  latestInfo = info;
}