Skip to content

Commit cf87035

Browse files
update participant source (#1577)
1 parent e35ae49 commit cf87035

File tree

1 file changed

+3
-3
lines changed
  • stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/sorting

1 file changed

+3
-3
lines changed

stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/sorting/DefaultSortOrder.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ private fun onlyIfInvisibleOrUnknown(
7474
private fun participantSourceRank(s: ParticipantSource): Int = when (s) {
7575
ParticipantSource.PARTICIPANT_SOURCE_RTMP -> 0
7676
ParticipantSource.PARTICIPANT_SOURCE_WHIP -> 1
77+
ParticipantSource.PARTICIPANT_SOURCE_RTSP -> 2
78+
ParticipantSource.PARTICIPANT_SOURCE_SRT -> 3
79+
ParticipantSource.PARTICIPANT_SOURCE_WEBRTC_UNSPECIFIED -> 4
7780
ParticipantSource.PARTICIPANT_SOURCE_SIP -> 2
78-
ParticipantSource.PARTICIPANT_SOURCE_RTSP -> 3
79-
ParticipantSource.PARTICIPANT_SOURCE_SRT -> 4
80-
ParticipantSource.PARTICIPANT_SOURCE_WEBRTC_UNSPECIFIED -> 5
8181
}

0 commit comments

Comments
 (0)