Commit Graph

56 Commits

Author SHA1 Message Date
zarazaex69
d97129b031 fix: suppress turnc ERROR noise from std log in non-debug mode 2026-05-11 14:57:31 +03:00
zarazaex69
dc1fe0f19c refactor: replace -carrier with -auth/-engine/-url/-token (stage E)
Break CLI backwards compatibility as planned for refactor/universal-carrier:

- Drop -carrier flag; add -auth (auth provider name), -engine (engine
  name for -auth none), -url and -token (SFU endpoint + access token for
  direct/none auth mode).
- session.Config.Carrier → Auth + Engine + URL + Token.
- session.Gen() is now generic: auth.Get(cfg.Auth).(auth.RoomCreator)
  replaces the hard-coded switch on carrier names.
- Register a "none" carrier in builtin (registerDirect) that bypasses
  auth and connects directly to any engine with caller-supplied URL+Token.
- auth/telemost.Provider.Issue now accepts a raw room-ID hash in addition
  to a full https://telemost.yandex.ru/j/<id> URL.
- Plumb Engine/URL/Token from session.Config through server.Run,
  client.Run/RunWithReady, bringUpLink, link.Config, transport.Config, and
  carrier.Config so the "none" carrier has access to them end-to-end.
- Update all tests and mobile.go call sites.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 13:31:07 +03:00
zarazaex69
e25eed39a9 Merge remote-tracking branch 'origin/master' into pr-47-merge
# Conflicts:
#	cmd/olcrtc/main.go
#	internal/transport/videochannel/ffmpeg.go
2026-05-11 02:30:16 +03:00
zarazaex69
0723ddf2f5 fix: golangci errors 2026-05-11 02:21:41 +03:00
spkprsnts
ba3d622233 feat(ffmpeg): Add -ffmpeg flag for custom path
- Add -ffmpeg flag for custom path
- Allow FFMPEG_BIN env var to set path
- Update ffmpeg
2026-05-11 03:31:14 +05:00
zarazaex69
f6b82da099 feat: remove nolint 2026-05-10 23:02:00 +03:00
zarazaex69
af49d17e8e feat(socks): add socks5 user and password 2026-05-10 13:56:03 +03:00
zarazaex69
e0a57b3ad4 fix: golangci errors 2026-05-08 17:39:54 +03:00
zarazaex69
46a7e64010 feat: ad mode gen for generate room 2026-05-08 17:29:53 +03:00
zarazaex69
87a546605c fix: golangci 2026-05-07 16:36:30 +03:00
zarazaex69
9c992d6fe4 refactor: remove legacy code 2026-05-07 14:28:32 +03:00
zarazaex69
99ee4d8bbc fix:fix suppress noisy LiveKit/pion logs in non-debug mode 2026-05-07 13:03:19 +03:00
zarazaex69
e4212b346b feat(sei): add sei config 2026-05-07 01:08:35 +03:00
zarazaex69
9d8f063ce3 feat(test): up test coverage 2026-05-07 00:06:28 +03:00
zarazaex69
aa49808e68 feat(test): init base test 2026-05-06 22:33:29 +03:00
zarazaex69
8be56493f0 feat: add clientid key 2026-05-06 19:23:16 +03:00
zarazaex69
2d2e9d5045 feat: configure livekit logger suppression for production 2026-05-03 18:25:27 +03:00
zarazaex69
dd606ddfb2 fix: fix all golangci errors 2026-05-03 06:10:48 +03:00
zarazaex69
ad7c9a5c3e feat: add tile as videochannel visual codec via -video-codec tile 2026-04-30 06:55:34 +03:00
zarazaex69
9c7b4e316f refactor(videochannel): remove b codec 2026-04-30 01:55:17 +03:00
zarazaex69
689441a7f4 Add configurable QR error correction level for video transpor 2026-04-27 18:53:39 +03:00
zarazaex69
98ad27bec5 Add configurable B codec parameters 2026-04-27 06:11:25 +03:00
zarazaex69
a2d1b95ffa feat: add support for 'b' visual codec in videochannel 2026-04-22 21:26:50 +03:00
zarazaex69
6379fa527e feat: add vp8-fps and vp8-batch settings for vp8channel throughput tuning 2026-04-22 17:17:08 +03:00
zarazaex69
af34cdbd8e feat: add video-qr-size configuration for videochannel transport 2026-04-21 22:32:01 +03:00
zarazaex69
d1c6545d38 feat(loging): update the error messages 2026-04-21 20:36:16 +03:00
zarazaex69
73fb1227d9 feat: implement strict configuration validation and remove default values for required CLI flags 2026-04-21 02:12:54 +03:00
zarazaex69
9bd430cb6b feat: add video hardware acceleration flag and improve shutdown error handling 2026-04-21 01:54:37 +03:00
zarazaex69
97b12eb2d8 feat: add H264 codec support and hardware acceleration via NVENC to FFmpeg pipeline 2026-04-21 01:43:48 +03:00
zarazaex69
9e09975165 feat: implement video channel transport 2026-04-21 01:32:17 +03:00
zarazaex69
ea249091c4 refactor: make link selectable at runtime 2026-04-20 20:18:23 +03:00
zarazaex69
27b94b6692 refactor: introduce carrier facade 2026-04-20 20:11:02 +03:00
zarazaex69
f9ad12c733 refactor: extract session runtime wiring 2026-04-20 20:09:00 +03:00
zarazaex69
fffb90e321 refactor: introduce transport layer 2026-04-20 20:05:23 +03:00
zarazaex69
a58e343331 refactor: improve SOCKS5 error handling, refactor client connection logic, and add documentation to internal packages. 2026-04-20 05:46:27 +03:00
zarazaex69
2d72fed2a3 refactor(main): use internal/logger and clean up configuration 2026-04-20 05:30:16 +03:00
zarazaex69
96233b71d3 feat: add wb_stream provider with LiveKit integration and API client 2026-04-20 04:42:19 +03:00
zarazaex69
35994565c6 refactor(provider): fix golangci 2026-04-14 02:26:28 +03:00
zarazaex69
ff09ee2bfd feat(jazz): add room joining capability and support existing rooms 2026-04-14 01:14:37 +03:00
zarazaex69
6e6265799a feat(provider): abstract provider interface and add jazz support 2026-04-14 01:10:57 +03:00
zarazaex69
8026d9cf7a refactor: remove dual channel (duo) mode functionality 2026-04-12 23:11:42 +03:00
Qtozdec
245c6688ca Address PR review feedback 2026-04-11 20:07:22 +03:00
Qtozdec
a30aeedb26 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	internal/server/server.go
2026-04-11 15:18:35 +03:00
Kot-nikot
d93c178f92 Add SOCKS5 proxy support to main.go 2026-04-11 10:13:08 +03:00
Qtozdec
f48a63a0b9 feat(mobile,client,mux): Android integration + SOCKS5 auth + reliability fixes
- mobile/: gomobile-bindable entry point for Android (combined libgojni.so)
- internal/protect/: Android socket protect via VpnService for olcRTC sockets
- internal/names/data/: embedded name pools for client identity generation
- client: add SOCKS5 USER/PASS auth (RFC 1929) and bind to 127.0.0.1
- mux: infinite backpressure via waitForBufferSpace, raise buffer to 32MB,
  remove close-on-overflow (was corrupting reliable TCP streams over DC)
- peer: remove 3-second drop in send worker — wait for SCTP buffer to drain
  instead of dropping packets (broke large HTTP/2 transfers like Instagram/X)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 13:45:33 +03:00
zarazaex69
e02df7d896 feat(server): Add configurable DNS server support 2026-04-09 20:27:44 +03:00
zarazaex69
3d39e245c8 feat(names): Add default Russian names and graceful fallback loading 2026-04-09 20:00:00 +03:00
zarazaex69
661ed9f39a fix(main): Resolve relative data directory paths to executable location 2026-04-09 19:58:48 +03:00
zarazaex69
9e01310924 feat(main,client,peer): Add graceful shutdown timeout and improve resource cleanup 2026-04-09 19:08:46 +03:00
zarazaex69
cb78320aaa feat(client,server): Add dual channel mode for 2x throughput 2026-04-09 19:07:12 +03:00