mirror of
https://github.com/pion/webrtc.git
synced 2025-10-08 16:40:06 +08:00
Fixed lint error
This commit is contained in:

committed by
Nils Ohlmeier

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