PlainRtpParameters constructor

PlainRtpParameters({
  1. required String ip,
  2. required int port,
  3. required int ipVersion,
})

Implementation

PlainRtpParameters({
  required this.ip,
  required this.port,
  required int ipVersion,
})  : _ipVersion = ipVersion,
      assert(ipVersion != 4 || ipVersion != 6, 'Only 4 or 6');