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

Method EnableDataChannelBlockWrite

settingengine.go:221–223  ·  view source on GitHub ↗

EnableDataChannelBlockWrite allows data channels to block on write, it only works if DetachDataChannels is enabled.

(nonblockWrite bool)

Source from the content-addressed store, hash-verified

219// EnableDataChannelBlockWrite allows data channels to block on write,
220// it only works if DetachDataChannels is enabled.
221func (e *SettingEngine) EnableDataChannelBlockWrite(nonblockWrite bool) {
222 e.dataChannelBlockWrite = nonblockWrite
223}
224
225// SetSRTPProtectionProfiles allows the user to override the default SRTP Protection Profiles
226// The default srtp protection profiles are provided by the function `defaultSrtpProtectionProfiles`.

Callers 1

Calls

no outgoing calls

Tested by 1