diff --git a/webrtc/src/rtp_transceiver/mod.rs b/webrtc/src/rtp_transceiver/mod.rs index e2fe83427..bc7ee729e 100644 --- a/webrtc/src/rtp_transceiver/mod.rs +++ b/webrtc/src/rtp_transceiver/mod.rs @@ -176,8 +176,8 @@ pub type TriggerNegotiationNeededFnOption = /// RTPTransceiver represents a combination of an RTPSender and an RTPReceiver that share a common mid. pub struct RTCRtpTransceiver { mid: OnceCell, //atomic.Value - sender: SyncMutex>, //atomic.Value - receiver: SyncMutex>, //atomic.Value + sender: Mutex>, //atomic.Value + receiver: Mutex>, //atomic.Value direction: AtomicU8, //RTPTransceiverDirection current_direction: AtomicU8, //RTPTransceiverDirection