Update src/webrtc.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
RustDesk
2025-11-14 11:46:59 +08:00
committed by GitHub
parent f8d1d4207d
commit 47dc73de1e

View File

@@ -259,6 +259,8 @@ impl WebRTCStream {
#[inline]
pub fn set_key(&mut self, _key: Key) {
// not-supported
// WebRTC uses built-in DTLS encryption for secure communication.
// DTLS handles key exchange and encryption automatically, so explicit key management is not required.
}
#[inline]