UserConsumerOptions constructor

UserConsumerOptions({
  1. Int64? userId,
  2. String? producerId,
  3. String? consumerId,
  4. String? rtpParameters,
})

Implementation

factory UserConsumerOptions({
  $fixnum.Int64? userId,
  $core.String? producerId,
  $core.String? consumerId,
  $core.String? rtpParameters,
}) {
  final _result = create();
  if (userId != null) {
    _result.userId = userId;
  }
  if (producerId != null) {
    _result.producerId = producerId;
  }
  if (consumerId != null) {
    _result.consumerId = consumerId;
  }
  if (rtpParameters != null) {
    _result.rtpParameters = rtpParameters;
  }
  return _result;
}