mirror of
https://github.com/pion/webrtc.git
synced 2025-10-04 14:53:05 +08:00
Replaced enable with isDisabled
This commit is contained in:

committed by
Nils Ohlmeier

parent
5676fa4d38
commit
f153325514
@@ -403,8 +403,8 @@ func (e *SettingEngine) DisableMediaEngineCopy(isDisabled bool) {
|
|||||||
// MediaEngine generated for new PeerConnections (assuming DisableMediaEngineCopy is set to
|
// MediaEngine generated for new PeerConnections (assuming DisableMediaEngineCopy is set to
|
||||||
// false).
|
// false).
|
||||||
// Note: this setting is targeted to be removed in release 4.2.0 (or later)
|
// 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(isDisabled bool) {
|
||||||
e.disableMediaEngineMultipleCodecs = enable
|
e.disableMediaEngineMultipleCodecs = isDisabled
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetReceiveMTU sets the size of read buffer that copies incoming packets. This is optional.
|
// SetReceiveMTU sets the size of read buffer that copies incoming packets. This is optional.
|
||||||
|
Reference in New Issue
Block a user