* add external modules and patches * migrate pion webrtc to vendored headlessclient, drop local pion replaces * use chrome ice credentials, one webrtc api per peer connection * send one user agent everywhere, use the vendored websocket * route the telemost joiner through headlessclient, drop the dead keylog * answer telemost dtls without a hello verify round trip * follow the headlessclient dtls 1.3 mimicry rename * follow the headless-client rename and apply the profile before the caller settings * build every webrtc api through relay/headlessapi * register chrome rtp header extensions for every pion consumer * dial vk webtransport signaling through the headless quic profile * dial dion and wb stream through the headless chrome profile * announce chrome's http/3 settings on the vk webtransport signaling * send chrome header blocks on bitrix http and livekit websocket * send chrome's webtransport connect headers on vk signaling * stop passing invented track names to the library * move wbp http paths onto the headlessclient profile * migrate to a published headlessclient * dedup go.mod
25 lines
661 B
Go
25 lines
661 B
Go
package joiner
|
|
|
|
import (
|
|
"github.com/kulikov0/headless-client/webrtc"
|
|
)
|
|
|
|
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, handler func([]byte), logFn func(string, ...any), prefix string)
|