mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
fix various race conditions
This commit is contained in:
@@ -318,6 +318,8 @@ func (ss *ServerSession) run() {
|
||||
}
|
||||
}()
|
||||
|
||||
ss.ctxCancel()
|
||||
|
||||
switch ss.state {
|
||||
case ServerSessionStatePlay:
|
||||
if *ss.setupProtocol == StreamProtocolUDP {
|
||||
|
Reference in New Issue
Block a user