SetPublisherRequest constructor

SetPublisherRequest({
  1. String? sdp,
  2. String? sessionId,
  3. Iterable<TrackInfo>? tracks,
})

Implementation

factory SetPublisherRequest({
  $core.String? sdp,
  $core.String? sessionId,
  $core.Iterable<$0.TrackInfo>? tracks,
}) {
  final $result = create();
  if (sdp != null) {
    $result.sdp = sdp;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (tracks != null) {
    $result.tracks.addAll(tracks);
  }
  return $result;
}