MCPcopy
hub / github.com/pion/webrtc / DisableMediaEngineCopy

Method DisableMediaEngineCopy

settingengine.go:519–521  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
519func (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

Calls

no outgoing calls