You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: map remaining livekit.DisconnectReason to SDK's DisconnectReason
A few entries in livekit.DisconnectReason are not explicitly mapped to
the SDK's DisconnectReason. This causes them to be flagged as
"OtherReason", even though some of them could be useful if explicitly
mapped. i.e.: ROOM_DELETED, MIGRATION, SERVER_SHUTDOWN,
CONNECTION_TIMEOUT mean different things and can be treated differently.
Map ROOM_DELETED, MIGRATION and SERVER_SHUTDOWN to unique reasons.
Map CONNECTION_TIMEOUT and SIP_TRUNK_FAILURE to Failed.
The only remaining livekit.DisconnectReason is UKNOWN_REASON, which is
makes sense as OtherReason.
0 commit comments