Fixed lint error

This commit is contained in:
Nils Ohlmeier
2025-04-10 11:08:15 -06:00
committed by Nils Ohlmeier
parent a561371028
commit a9ff362d89

View File

@@ -397,11 +397,12 @@ func (e *SettingEngine) DisableMediaEngineCopy(isDisabled bool) {
e.disableMediaEngineCopy = isDisabled
}
// EnableMediaEngineMultipleCodecs allow the MediaEngine to negotiate different codecs for
// multiple media sections in the SDP. This is actually spec compliant behavior, but not how
// Pion used to negotiate things so far without this setting. The value of this setting will
// get copied to every copy of the MediaEngine generated for new PeerConnections (assuming
// DisableMediaEngineCopy is set to false).
// DisableMediaEngineMultipleCodecs disables the MediaEngine negotiating different codecs for
// multiple media sections in the SDP. This is the new default behvior, because it makes
// Pion more spec compliant. The value of this setting will get copied to every copy of the
// MediaEngine generated for new PeerConnections (assuming DisableMediaEngineCopy is set to
// false).
// Note: this setting is targeted to be removed in release 4.2.0 (or later)
func (e *SettingEngine) DisableMediaEngineMultipleCodecs(enable bool) {
e.disableMediaEngineMultipleCodecs = enable
}