Skip to content

Commit 7acfbd4

Browse files
authored
Update mod.rs
1 parent 6e8388d commit 7acfbd4

File tree

1 file changed

+2
-2
lines changed
  • webrtc/src/rtp_transceiver

1 file changed

+2
-2
lines changed

webrtc/src/rtp_transceiver/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ pub type TriggerNegotiationNeededFnOption =
176176
/// RTPTransceiver represents a combination of an RTPSender and an RTPReceiver that share a common mid.
177177
pub struct RTCRtpTransceiver {
178178
mid: OnceCell<SmallStr>, //atomic.Value
179-
sender: SyncMutex<Arc<RTCRtpSender>>, //atomic.Value
180-
receiver: SyncMutex<Arc<RTCRtpReceiver>>, //atomic.Value
179+
sender: Mutex<Arc<RTCRtpSender>>, //atomic.Value
180+
receiver: Mutex<Arc<RTCRtpReceiver>>, //atomic.Value
181181

182182
direction: AtomicU8, //RTPTransceiverDirection
183183
current_direction: AtomicU8, //RTPTransceiverDirection

0 commit comments

Comments
 (0)