Skip to content

[WIP] Extend CallJoinInterceptor with will-join and did-join hooks - #1736

Closed
rahul-lohra wants to merge 16 commits into
developfrom
feature/rahullohra/call-join-interceptor-extension
Closed

[WIP] Extend CallJoinInterceptor with will-join and did-join hooks#1736
rahul-lohra wants to merge 16 commits into
developfrom
feature/rahullohra/call-join-interceptor-extension

fix: catch exceptions

79b8001
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 30, 2026 in 1m 43s

Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 210 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't expose mutable flow types.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6d_&open=AZ8Xjs6Y22uNeXUdq6d_&pullRequest=1736

Check warning on line 668 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eD&open=AZ8Xjs6Y22uNeXUdq6eD&pullRequest=1736

Check warning on line 146 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eB&open=AZ8Xjs6Y22uNeXUdq6eB&pullRequest=1736

Check warning on line 159 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/ActiveStateGate.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5b22uNeXUdq6d3&open=AZ8Xjs5b22uNeXUdq6d3&pullRequest=1736

Check warning on line 106 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/ActiveStateGate.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5b22uNeXUdq6d4&open=AZ8Xjs5b22uNeXUdq6d4&pullRequest=1736

Check warning on line 35 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallJoinInterceptor.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this interface functional or replace it with a function type.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5k22uNeXUdq6d8&open=AZ8Xjs5k22uNeXUdq6d8&pullRequest=1736

Check warning on line 35 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallJoinInterceptor.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5k22uNeXUdq6d7&open=AZ8Xjs5k22uNeXUdq6d7&pullRequest=1736

Check warning on line 1924 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6d-&open=AZ8Xjs6Y22uNeXUdq6d-&pullRequest=1736

Check failure on line 104 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/ActiveStateGate.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Y8WxYNMKsmqIn1jWo&open=AZ8Y8WxYNMKsmqIn1jWo&pullRequest=1736

Check warning on line 74 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/ActiveStateGate.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5b22uNeXUdq6d5&open=AZ8Xjs5b22uNeXUdq6d5&pullRequest=1736

Check warning on line 278 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't expose mutable flow types.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eA&open=AZ8Xjs6Y22uNeXUdq6eA&pullRequest=1736

Check failure on line 564 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eF&open=AZ8Xjs6Y22uNeXUdq6eF&pullRequest=1736

Check warning on line 570 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eE&open=AZ8Xjs6Y22uNeXUdq6eE&pullRequest=1736

Check warning on line 54 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/ActiveStateGate.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs5b22uNeXUdq6d6&open=AZ8Xjs5b22uNeXUdq6d6&pullRequest=1736

Check failure on line 919 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eG&open=AZ8Xjs6Y22uNeXUdq6eG&pullRequest=1736

Check warning on line 2008 in stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/Call.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=GetStream_stream-video-android&issues=AZ8Xjs6Y22uNeXUdq6eC&open=AZ8Xjs6Y22uNeXUdq6eC&pullRequest=1736