mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-02 06:23:37 +02:00
fix(vp8channel): rotate epoch header on KCP reset
This commit is contained in:
@@ -553,7 +553,7 @@ func appendBatchPacket(dst, packet []byte) []byte {
|
||||
func (p *streamTransport) resetKCP() {
|
||||
p.peerConfirmed.Store(false)
|
||||
p.peerEpoch.Store(0)
|
||||
p.restartKCP(p.epochHeader())
|
||||
p.restartKCP(p.rotateEpochHeader())
|
||||
}
|
||||
|
||||
func (p *streamTransport) restartKCP(epochHdr [epochHdrLen]byte) {
|
||||
|
||||
Reference in New Issue
Block a user