setRtpEncodingParameters method

Future<void> setRtpEncodingParameters(
  1. RtpEncodingParameters params
)

Sets the DSCP value.

Implementation

Future<void> setRtpEncodingParameters(RtpEncodingParameters params) async {
  if (closed)
    throw 'closed';
  else if (params == null) throw 'invalid params';

  await safeEmitAsFuture('@setrtpencodingparameters', {
    'params': params,
  });
}