We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec28a9 commit 82dc309Copy full SHA for 82dc309
lib/src/rtc_session.dart
@@ -2746,7 +2746,8 @@ class RTCSession extends EventManager {
2746
2747
String session_expires_refresher;
2748
2749
- if (response.session_expires != 0 &&
+ if (response.session_expires != null &&
2750
+ response.session_expires != 0 &&
2751
response.session_expires >= DartSIP_C.MIN_SESSION_EXPIRES) {
2752
_sessionTimers.currentExpires = response.session_expires;
2753
session_expires_refresher = response.session_expires_refresher ?? 'uac';
0 commit comments