mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-08 05:14:42 +00:00
74fb1d81b7f5d8dac97e7153e491c6c2a961a9a9
transport.Config used to carry a flat union of video+vp8+sei tuning fields that every transport ignored except its own. Replace with an opaque transport.Options marker interface and per-transport Options structs (videochannel.Options, vp8channel.Options, seichannel.Options). Datachannel keeps an unset Options. link.Config gains TransportOptions and drops the 16 transport-specific fields. server.Config and client.Config follow suit. session.Config is left untouched in this commit — buildTransportOptions packs its existing flat fields into the typed Options bundle before calling server/client (session.Config is rebuilt in a later commit when YAML config moves to typed sections). Tests that synthesized link/server/client/transport configs are updated to pass typed Options bundles. The shared e2eTransportOptions helper replaces three copies of the flat field bundle in e2e/tunnel_test.go. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
About
olcRTC - across the sea
Project that allows users to bypass blocking by parasitizing and tunneling on unblocked and whitelisted services in Russia, use legal webRTC services
Status
Beta
See all info in issues
Issues? contact us at @openlibrecommunity
Or wait for the release or at least a release
Community ui client: alananisimov/olcbox
Read docs for start
Build
# install mage first
go install github.com/magefile/mage@latest
# build cli + ui
mage build
# build cli only
mage buildCLI
# build cli with b codec, clones b repo, builds libb.so, compiles with -tags b
mage buildCLIB
# cross-compile for linux / windows / darwin
mage cross
# android aar via gomobile
mage mobile
# container image
mage podman
mage docker
# lint / test / clean
mage lint
mage test
mage clean
Telegram: zarazaex
Email: zarazaex@tuta.io
Site: zarazaex.xyz
Made for: olcNG
Languages
Go
91%
Python
6.1%
Shell
2.9%
