Skip to content

Commit b81898b

Browse files
committed
Fix errors
1 parent e013036 commit b81898b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Packages/StreamVideo/Runtime/Core/LowLevelClient/ReconnectScheduler.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ private void OnConnectionStateChanged(ConnectionState previous, ConnectionState
173173
break;
174174
case ConnectionState.Closing:
175175
break;
176+
case ConnectionState.Disconnecting:
177+
break;
176178
default:
177179
throw new ArgumentOutOfRangeException(nameof(current), current, null);
178180
}

Packages/StreamVideo/Runtime/Core/LowLevelClient/WebSockets/SfuWebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void SendLeaveCallRequest(string reason = "")
7272
{
7373
if (string.IsNullOrEmpty(_sessionId))
7474
{
75-
throw new ArgumentException($"{nameof(_sessionId)} is null or empty.");
75+
return;
7676
}
7777

7878
if (reason == null)

0 commit comments

Comments
 (0)