Disable close by dtls to fix migration (#3220)

Pion v4 imports new feature that will close
peerconnection on dtls.close to detects
remote peer closed quickly, it breaks the
session migration.
This commit is contained in:
cnderrauber
2024-11-30 09:20:45 +08:00
committed by GitHub
parent 44d26f0cb4
commit c76fb0bcf4
6 changed files with 7 additions and 47 deletions
-1
View File
@@ -38,7 +38,6 @@ type Handler interface {
OnInitialConnected()
OnFullyEstablished()
OnFailed(isShortLived bool, iceConnectionInfo *types.ICEConnectionInfo)
OnClosed()
OnTrack(track *webrtc.TrackRemote, rtpReceiver *webrtc.RTPReceiver)
OnDataPacket(kind livekit.DataPacket_Kind, data []byte)
OnDataSendError(err error)