From 80b141e2a756742391cdb9afcc416014b6e87f84 Mon Sep 17 00:00:00 2001 From: Rishikeshan Sulochana/Lavakumar Date: Mon, 23 Dec 2024 15:01:55 +0530 Subject: [PATCH] Remove unused ErrTurnCredentials as it is no longer used. It was used when CredentialType was an option, but it is now deprecated. Ref: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#credentialtype --- webrtc/src/error.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webrtc/src/error.rs b/webrtc/src/error.rs index 9a9ff4403..22b712bfb 100644 --- a/webrtc/src/error.rs +++ b/webrtc/src/error.rs @@ -40,11 +40,6 @@ pub enum Error { #[error("turn server credentials required")] ErrNoTurnCredentials, - /// ErrTurnCredentials indicates that provided TURN credentials are partial - /// or malformed. - #[error("invalid turn server credentials")] - ErrTurnCredentials, - /// ErrExistingTrack indicates that a track already exists. #[error("track already exists")] ErrExistingTrack,