BlueGit

ict rusty-teams

Files

rusty-teams / vendor / webrtc-sys / PATCH.md

PATCH.md

PATCH.md 1.0 KiB Download Raw

webrtc-sys 0.3.48 patches

Upstream: crates.io webrtc-sys 0.3.48 (livekit/rust-sdks). Wired in via [patch.crates-io] in the root Cargo.toml. crates/calling pins webrtc-sys = "=0.3.48" and libwebrtc = "=0.3.51" so an update cannot drop the patch silently. 0.3.49 still has both bugs.

Changed files

FileChangeWhy
src/adm_proxy.cpp, include/livekit/adm_proxy.hInit() re-inits terminated sub ADMs; EnsurePlatformAdmCreated() re-inits a terminated platform ADM; InitPlatformAdm() replays transport, devices, observer, stereo; Terminate() stops synthetic playout and clears playing_ / recording_WebRtcVoiceEngine::Terminate() terminates the ADM after every call, Init() was a no-op: from the second call on 0 devices, no mic, no sound
src/adm_proxy.cppBuiltInAECIsAvailable() returns false on Windowsthe voice capture DMO fails StartRecording ("Playout must be started before recording") when no remote audio plays yet - mic silent for the whole call (seen in the app log 2026-10-13)
Source
1# webrtc-sys 0.3.48 patches
2
3Upstream: crates.io `webrtc-sys 0.3.48` (livekit/rust-sdks). Wired in via `[patch.crates-io]` in the root `Cargo.toml`. `crates/calling` pins `webrtc-sys = "=0.3.48"` and `libwebrtc = "=0.3.51"` so an update cannot drop the patch silently. 0.3.49 still has both bugs.
4
5## Changed files
6
7| File | Change | Why |
8|---|---|---|
9| `src/adm_proxy.cpp`, `include/livekit/adm_proxy.h` | `Init()` re-inits terminated sub ADMs; `EnsurePlatformAdmCreated()` re-inits a terminated platform ADM; `InitPlatformAdm()` replays transport, devices, observer, stereo; `Terminate()` stops synthetic playout and clears `playing_` / `recording_` | `WebRtcVoiceEngine::Terminate()` terminates the ADM after every call, `Init()` was a no-op: from the second call on 0 devices, no mic, no sound |
10| `src/adm_proxy.cpp` | `BuiltInAECIsAvailable()` returns false on Windows | the voice capture DMO fails `StartRecording` ("Playout must be started before recording") when no remote audio plays yet - mic silent for the whole call (seen in the app log 2026-10-13) |