MCPcopy Index your code
hub / github.com/pion/webrtc / WithSettingEngine

Function WithSettingEngine

api.go:81–85  ·  view source on GitHub ↗

WithSettingEngine allows providing a SettingEngine to the API. Settings should not be changed after passing the engine to an API.

(s SettingEngine)

Source from the content-addressed store, hash-verified

79// WithSettingEngine allows providing a SettingEngine to the API.
80// Settings should not be changed after passing the engine to an API.
81func WithSettingEngine(s SettingEngine) func(a *API) {
82 return func(a *API) {
83 a.settingEngine = &s
84 }
85}
86
87// WithInterceptorRegistry allows providing Interceptors to the API.
88// Settings should not be changed after passing the registry to an API.

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…