mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
emit a decode error in case of packets with wrong SSRC
This commit is contained in:
@@ -758,7 +758,7 @@ func (ss *ServerSession) handleRequestInner(sc *ServerConn, req *base.Request) (
|
||||
th := headers.Transport{}
|
||||
|
||||
if ss.state == ServerSessionStatePrePlay {
|
||||
ssrc, ok := stream.lastSSRC(medi)
|
||||
ssrc, ok := stream.senderSSRC(medi)
|
||||
if ok {
|
||||
th.SSRC = &ssrc
|
||||
}
|
||||
|
Reference in New Issue
Block a user