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

Method SetSCTPMaxReceiveBufferSize

settingengine.go:602–604  ·  view source on GitHub ↗

SetSCTPMaxReceiveBufferSize sets the maximum receive buffer size. Leave this 0 for the default maxReceiveBufferSize.

(maxReceiveBufferSize uint32)

Source from the content-addressed store, hash-verified

600// SetSCTPMaxReceiveBufferSize sets the maximum receive buffer size.
601// Leave this 0 for the default maxReceiveBufferSize.
602func (e *SettingEngine) SetSCTPMaxReceiveBufferSize(maxReceiveBufferSize uint32) {
603 e.sctp.maxReceiveBufferSize = maxReceiveBufferSize
604}
605
606// EnableSCTPZeroChecksum controls the zero checksum feature in SCTP.
607// This removes the need to checksum every incoming/outgoing packet and will reduce

Calls

no outgoing calls

Tested by 2