Add option to issue full reconnect on data channel error. (#2026)
* Add option to issue full reconnect on data channel error. There are situations where send data packet fails because of "stream closed". It is unclear when that happens. Seems to be after an ICERestart after ICE failed and connection type switching to TURN from ICE. Once the failure happens, it is not recoverable. Potentially, it is recoverable, but unclear where the problem lies. Attempts to reproduce looking at the pattern of failures has been unsuccesful. In the mean time, adding an option to issue full reconnect when send data packet fails. * typo
This commit is contained in:
@@ -23,6 +23,7 @@ var (
|
||||
ErrLimitExceeded = errors.New("node has exceeded its configured limit")
|
||||
ErrAlreadyJoined = errors.New("a participant with the same identity is already in the room")
|
||||
ErrDataChannelUnavailable = errors.New("data channel is not available")
|
||||
ErrTransportFailure = errors.New("transport failure")
|
||||
ErrEmptyIdentity = errors.New("participant identity cannot be empty")
|
||||
ErrEmptyParticipantID = errors.New("participant ID cannot be empty")
|
||||
ErrMissingGrants = errors.New("VideoGrant is missing")
|
||||
|
||||
Reference in New Issue
Block a user