mirror of
https://github.com/harshabose/client.git
synced 2025-09-26 19:31:20 +08:00
11 lines
221 B
Go
11 lines
221 B
Go
//go:build cgo_enabled
|
|
|
|
package client
|
|
|
|
func WithBandwidthControl() PeerConnectionOption {
|
|
return func(connection *PeerConnection) error {
|
|
connection.bwController = createBWController(connection.ctx)
|
|
return nil
|
|
}
|
|
}
|