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
| File | Change | Why |
|---|---|---|
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 |
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) |
src/adm_proxy.cpp, include/livekit/adm_proxy.h | SetPlayoutDevice / SetRecordingDevice(WindowsDeviceType) turn kDefaultCommunicationDevice into kDefaultDevice | WebRtcVoiceEngine::Init selects the communications default at every call start; the app's "Default device" means the Windows default device (seen 2026-10-14: speaker came up on the communications default, user picked the default device by hand every call) |
Source
| 1 | # webrtc-sys 0.3.48 patches |
| 2 | |
| 3 | 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. |
| 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) | |
| 11 | | `src/adm_proxy.cpp`, `include/livekit/adm_proxy.h` | `SetPlayoutDevice` / `SetRecordingDevice(WindowsDeviceType)` turn `kDefaultCommunicationDevice` into `kDefaultDevice` | `WebRtcVoiceEngine::Init` selects the communications default at every call start; the app's "Default device" means the Windows default device (seen 2026-10-14: speaker came up on the communications default, user picked the default device by hand every call) | |