mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-08-08 11:35:16 +03:00
Add call protocol, Rmux. Update AmneziaWG. Fixes and improvements
This commit is contained in:
15
transport/call/common/deps.go
Normal file
15
transport/call/common/deps.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/pion/webrtc/v4"
|
||||
"github.com/sagernet/sing/common/logger"
|
||||
)
|
||||
|
||||
type ResolveFunc func(hostname string) (string, error)
|
||||
|
||||
type PeerConnectionConfigurer interface {
|
||||
ConfigureSettingEngine(settingEngine *webrtc.SettingEngine)
|
||||
}
|
||||
|
||||
type AddTunnelTracksFunc func(pc *webrtc.PeerConnection, logger logger.ContextLogger, prefix string) *webrtc.TrackLocalStaticSample
|
||||
type ReadTrackFunc func(track *webrtc.TrackRemote, handler func([]byte), logger logger.ContextLogger, prefix string)
|
||||
Reference in New Issue
Block a user