DisableMediaEngineCopy stops the MediaEngine from being copied. This allows a user to modify the MediaEngine after the PeerConnection has been constructed. This is useful if you wish to modify codecs after signaling. Make sure not to share MediaEngines between PeerConnections.
(isDisabled bool)
| 517 | // the MediaEngine after the PeerConnection has been constructed. This is useful if you wish to |
| 518 | // modify codecs after signaling. Make sure not to share MediaEngines between PeerConnections. |
| 519 | func (e *SettingEngine) DisableMediaEngineCopy(isDisabled bool) { |
| 520 | e.disableMediaEngineCopy = isDisabled |
| 521 | } |
| 522 | |
| 523 | // DisableMediaEngineMultipleCodecs disables the MediaEngine negotiating different codecs. |
| 524 | // With the default value multiple media sections in the SDP can each negotiate different |
no outgoing calls