setParameters

suspend fun setParameters(parameters: RTCRtpSendParameters, setParameterOptions: RTCSetParameterOptions = definedExternally)(source)

The setParameters() method of the RTCRtpSender interface applies changes the configuration of sender's RTCRtpSender.track, which is the MediaStreamTrack for which the RTCRtpSender is responsible.

MDN Reference