mirror of
https://github.com/pion/webrtc.git
synced 2025-10-27 09:11:19 +08:00
Fix SRTP shutdown race
Add Stop() to RTCDtlsTransport and guard the shutdown of SRTP
This commit is contained in:
@@ -12,7 +12,10 @@ import (
|
||||
|
||||
// RTCTrack represents a track that is communicated
|
||||
type RTCTrack struct {
|
||||
isRawRTP bool
|
||||
isRawRTP bool
|
||||
sampleInput chan media.RTCSample
|
||||
rawInput chan *rtp.Packet
|
||||
rtcpInput chan rtcp.Packet
|
||||
|
||||
ID string
|
||||
PayloadType uint8
|
||||
|
||||
Reference in New Issue
Block a user