21pages
219f917d5a
fix(webrtc): make session cleanup deadlock-safe
...
Release data channel and session cache locks before awaiting close
operations.
Remove cached sessions by PeerConnection identity instead of SDP
fingerprint so delayed callbacks cannot remove replacement sessions.
Add regression tests for duplicate-session close re-entry and
identity-based cleanup.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2026-08-30 19:45:17 +08:00
lc
e4224a19bc
Apply suggestions from code review
2025-11-17 15:19:20 +08:00
lichon and Copilot
2dc15df250
Update src/webrtc.rs
...
webrtc session clean fallback
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-17 14:55:52 +08:00
lc
3282977e66
Apply suggestions from code review
2025-11-17 13:18:27 +08:00
lc
7cb29b1117
add ice-servers config
2025-11-16 18:43:31 +08:00
lc
0da5d379fc
support turn relay config, and force_relay option
2025-11-16 04:04:25 +08:00
lichon
483cf9d225
Apply suggestions from code review
2025-11-15 16:37:34 +08:00
lichon and Copilot
b10a96b7bc
Apply suggestions from code review
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-15 16:04:59 +08:00
lc
3a919aef54
minor change
2025-11-15 00:27:09 +08:00
lc
955e49dc4b
use webrtc sdp fingerprint as session key
2025-11-14 20:32:49 +08:00
lc
5dcfea1ee4
support send_timeout
2025-11-14 16:03:02 +08:00
RustDesk and Copilot
47dc73de1e
Update src/webrtc.rs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-14 11:46:59 +08:00
lc
67ad83a2b2
fix webrtc example when webrtc disabled
2025-11-13 23:25:53 +08:00
lc
f9e70f3d46
remove typo
2025-11-13 23:11:33 +08:00
lc
f5f78c84d5
remove unwraps
2025-11-13 23:07:01 +08:00
lc
4cea3a7769
better example support local dc stream
...
fix read/write issue
clear sessions after close
2025-11-13 20:59:32 +08:00
lc
8ae4651bc7
make webrtc-rs optional feature
2025-11-13 16:53:07 +08:00
lc
442160d704
add webrtc stream
2025-11-12 19:46:55 +08:00