From f1c42e73a701755803c239db905f98aa764ac696 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Wed, 18 Sep 2024 18:23:47 +0000 Subject: [PATCH] update type name --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1e91c75..7105f62 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,7 +39,10 @@ pub enum ApplicationMessage { TrackingBoxes(TrackingUpdate), ManualMovementOverride((i32, i32)), - CanConnectionWebRTCRequest, + /// Ask for a ConnectionSupportsWebRTC response from the remote + ConnectionSupportsWebRTCRequest, + /// Whether the other endpoing will support a webrtc connection (not all OSs are + /// have the API for Tauri) ConnectionSupportsWebRTC(bool), WebRTCPacket(RTCSessionDescription), WebRTCIceCandidate(RTCIceCandidate),