erase fingerprints (#177)

* 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
This commit is contained in:
kulikov0 authored and GitHub committed 2026-09-12 20:39:06 +02:00
1 parent 88a0b5f1b9
commit a735b4176e
71 files changed
+571 -2140

No files matched your search

+5 -11
View File
@@ -5,9 +5,8 @@ import (
"sync"
"time"
"github.com/google/uuid"
"github.com/kulikov0/headless-client/webrtc"
"github.com/pion/rtp/codecs"
"github.com/pion/webrtc/v4"
"whitelist-bypass/relay/common"
"whitelist-bypass/relay/livekit"
"whitelist-bypass/relay/tunnel"
@@ -77,7 +76,7 @@ func NewMediaSession(p MediaParams) (*MediaSession, error) {
tracks := make([]*webrtc.TrackLocalStaticSample, 0, count)
subs := make([]*tunnel.VP8DataTunnel, 0, count)
for i := 0; i < count; i++ {
track, err := s.newVP8Track(i)
track, err := s.newVP8Track()
if err != nil {
return nil, err
}
@@ -116,14 +115,9 @@ func NewMediaSession(p MediaParams) (*MediaSession, error) {
return s, nil
}
func (s *MediaSession) newVP8Track(slot int) (*webrtc.TrackLocalStaticSample, error) {
labelPrefix, streamPrefix := "videochannel-", "tunnel-video-"
if slot > 0 {
labelPrefix, streamPrefix = "screenchannel-", "tunnel-screen-"
}
func (s *MediaSession) newVP8Track() (*webrtc.TrackLocalStaticSample, error) {
return webrtc.NewTrackLocalStaticSample(
webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP8, ClockRate: 90000},
labelPrefix+uuid.New().String(), streamPrefix+uuid.New().String())
webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP8, ClockRate: 90000})
}
func (s *MediaSession) MarkConfigAcked() {
@@ -415,7 +409,7 @@ func (s *MediaSession) addPublisherTrack(slot int) bool {
if slot == 0 {
source = livekit.TrackSourceCamera
}
track, err := s.newVP8Track(slot)
track, err := s.newVP8Track()
if err != nil {
s.p.LogFn("[bx] adapt-track-count: new track slot=%d: %v", slot, err)
return false