* ios proxy app, tune vp8 tunnel * refactor go modules, move headless joiner android to a go captcha * restore emojis in vk bot keyboard * headless support in vk bot * remove telemost dc hooks, update cretor-app ui and bot * remove telemost support from go code, add fallback to video if mode == dc in joiners * fix headless creators in windows * update vk call creation autoclick * force desktop useragent for creator app * kick disconnected user in headless vk creator immediately when connection is lost * update README.md * update SETUP.md * update release version * add fallback for link creation in vk bot
26 lines
682 B
Go
26 lines
682 B
Go
package joiner
|
|
|
|
import (
|
|
"github.com/pion/webrtc/v4"
|
|
"whitelist-bypass/relay/tunnel"
|
|
)
|
|
|
|
type ResolveFunc func(hostname string) (string, error)
|
|
|
|
type StatusEmitter interface {
|
|
EmitStatus(status string)
|
|
EmitStatusError(msg string)
|
|
}
|
|
|
|
type PeerConnectionConfigurer interface {
|
|
ConfigureSettingEngine(settingEngine *webrtc.SettingEngine)
|
|
}
|
|
|
|
type CacheStore interface {
|
|
Save(key string, value string)
|
|
Load(key string) string
|
|
}
|
|
|
|
type AddTunnelTracksFunc func(pc *webrtc.PeerConnection, logFn func(string, ...any), prefix string) *webrtc.TrackLocalStaticSample
|
|
type ReadTrackFunc func(track *webrtc.TrackRemote, tun *tunnel.VP8DataTunnel, logFn func(string, ...any), prefix string)
|