Skip to content
Closed
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

![stream-video-android-core](https://img.shields.io/badge/stream--video--android--core-12.00%20MB-lightgreen)
![stream-video-android-ui-xml](https://img.shields.io/badge/stream--video--android--ui--xml-5.67%20MB-lightgreen)
![stream-video-android-ui-compose](https://img.shields.io/badge/stream--video--android--ui--compose-6.28%20MB-lightgreen)
![stream-video-android-ui-compose](https://img.shields.io/badge/stream--video--android--ui--compose-6.26%20MB-lightgreen)

</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.Checkbox
import androidx.compose.material.CheckboxDefaults
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.RadioButton
import androidx.compose.material.RadioButtonDefaults
Expand Down Expand Up @@ -135,7 +137,7 @@ private fun Body(
toggleUserSelection: (Int) -> Unit,
onStartCallClick: (cid: StreamCallId, membersList: String, joinAndRing: Boolean) -> Unit,
) {
var callerJoinsFirst by rememberSaveable { mutableStateOf(false) }
var callerJoinsFirst by rememberSaveable { mutableStateOf(true) }

Box(
modifier = Modifier
Expand Down Expand Up @@ -164,9 +166,18 @@ private fun Body(
horizontalArrangement = Arrangement.SpaceBetween,
) {
Text("Join First", color = Color.White)
Checkbox(callerJoinsFirst, onCheckedChange = {
callerJoinsFirst = !callerJoinsFirst
})
Checkbox(
callerJoinsFirst,
modifier = Modifier.offset(x = 10.dp),
colors = CheckboxDefaults.colors(
uncheckedColor = Color.White, // Border color when unchecked
checkedColor = Color.White, // Fill color when checked
checkmarkColor = VideoTheme.colors.buttonBrandDefault, // Tick color
),
onCheckedChange = {
callerJoinsFirst = !callerJoinsFirst
},
)
}
UserList(
entries = users,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ object StreamVideoInitHelper {
audioProcessing = NoiseCancellation(context),
telecomConfig = TelecomConfig(context.packageName),
connectOnInit = false,
rejectCallWhenBusy = false,
).build()
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ enableComposeCompilerMetrics=true
enableComposeCompilerReports=true

# Project version
version=1.19.0
version=1.20.1
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ streamNoiseCancellation = "1.0.4"
streamResult = "1.3.0"
streamChat = "6.10.0"
streamLog = "1.3.2"
streamPush = "1.3.1"
streamPush = "1.3.4"
streamRenderscript = "0.0.1"

androidxTestRunner = "1.6.2"
Expand Down
4 changes: 2 additions & 2 deletions metrics/size.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"debug": {
"stream-video-android-core": 13908,
"stream-video-android-ui-xml": 7376,
"stream-video-android-ui-xml": 7392,
"stream-video-android-ui-compose": 9796
},
"release": {
"stream-video-android-core": 12292,
"stream-video-android-ui-xml": 5816,
"stream-video-android-ui-compose": 6432
"stream-video-android-ui-compose": 6416
}
}
596 changes: 323 additions & 273 deletions stream-video-android-core/api/stream-video-android-core.api

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ interface ProductvideoApi {
suspend fun sendVideoReaction(
@Path("type") type: kotlin.String,
@Path("id") id: kotlin.String ,
@Body sendReactionRequest: io.getstream.android.video.generated.models.SendReactionRequest
): io.getstream.android.video.generated.models.SendReactionResponse
@Body sendVideoReactionRequest: io.getstream.android.video.generated.models.SendVideoReactionRequest
): io.getstream.android.video.generated.models.SendVideoReactionResponse

/**
* List recordings
Expand Down Expand Up @@ -850,7 +850,7 @@ interface ProductvideoApi {
@GET("/video/longpoll")
suspend fun videoConnect(
)

/**
* Resolve SIP Inbound Routing
* Resolve SIP inbound routing based on trunk number, caller number, and challenge authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ object Serializer {
.add(io.getstream.android.video.generated.models.RawRecordingSettingsResponse.Mode.ModeAdapter())
.add(io.getstream.android.video.generated.models.RecordSettingsRequest.Mode.ModeAdapter())
.add(io.getstream.android.video.generated.models.RecordSettingsRequest.Quality.QualityAdapter())
.add(io.getstream.android.video.generated.models.SortParamRequest.Type.TypeAdapter())
.add(io.getstream.android.video.generated.models.StartClosedCaptionsRequest.Language.LanguageAdapter())
.add(io.getstream.android.video.generated.models.StartTranscriptionRequest.Language.LanguageAdapter())
.add(io.getstream.android.video.generated.models.TranscriptionSettingsRequest.ClosedCaptionMode.ClosedCaptionModeAdapter())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data class CallReactionEvent (
val createdAt: org.threeten.bp.OffsetDateTime,

@Json(name = "reaction")
val reaction: io.getstream.android.video.generated.models.ReactionResponse,
val reaction: io.getstream.android.video.generated.models.VideoReactionResponse,

@Json(name = "type")
val type: kotlin.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@ data class CallStatsReportReadyEvent (
val sessionId: kotlin.String,

@Json(name = "type")
val type: kotlin.String
val type: kotlin.String,

@Json(name = "is_trimmed")
val isTrimmed: kotlin.Boolean? = null,

@Json(name = "participants_overview")
val participantsOverview: kotlin.collections.List<io.getstream.android.video.generated.models.CallStatsParticipant>? = emptyList()
)
: io.getstream.android.video.generated.models.VideoEvent(), io.getstream.android.video.generated.models.WSCallEvent
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import com.squareup.moshi.JsonWriter
import com.squareup.moshi.ToJson

/**
*
* Geographic coordinates
*/

data class Coordinates (
data class CoordinatesResponse (
@Json(name = "latitude")
val latitude: kotlin.Float,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ data class Credentials (
val token: kotlin.String,

@Json(name = "ice_servers")
val iceServers: kotlin.collections.List<io.getstream.android.video.generated.models.ICEServer> = emptyList(),
val iceServers: kotlin.collections.List<io.getstream.android.video.generated.models.ICEServerResponse> = emptyList(),

@Json(name = "server")
val server: io.getstream.android.video.generated.models.SFUResponse
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import com.squareup.moshi.JsonWriter
import com.squareup.moshi.ToJson

/**
*
* ICE server configuration for WebRTC connections
*/

data class ICEServer (
data class ICEServerResponse (
@Json(name = "password")
val password: kotlin.String,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ import com.squareup.moshi.ToJson

data class IndividualRecordingSettingsRequest (
@Json(name = "mode")
val mode: Mode
val mode: Mode,

@Json(name = "output_types")
val outputTypes: kotlin.collections.List<kotlin.String>? = emptyList()
)
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ import com.squareup.moshi.ToJson

data class IndividualRecordingSettingsResponse (
@Json(name = "mode")
val mode: Mode
val mode: Mode,

@Json(name = "output_types")
val outputTypes: kotlin.collections.List<kotlin.String>? = emptyList()
)
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ data class JoinCallRequest (
@Json(name = "video")
val video: kotlin.Boolean? = null,

@Json(name = "migrating_from_list")
val migratingFromList: kotlin.collections.List<kotlin.String>? = emptyList(),

@Json(name = "data")
val data: io.getstream.android.video.generated.models.CallRequest? = null
)
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import com.squareup.moshi.JsonWriter
import com.squareup.moshi.ToJson

/**
*
* Geographic location metadata
*/

data class Location (
data class LocationResponse (
@Json(name = "continent_code")
val continentCode: kotlin.String,

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ import com.squareup.moshi.JsonWriter
import com.squareup.moshi.ToJson

/**
*
* Request to determine SIP trunk authentication requirements
*/

data class ReadReceipts (
@Json(name = "enabled")
val enabled: kotlin.Boolean
data class ResolveSipAuthRequest (
@Json(name = "sip_caller_number")
val sipCallerNumber: kotlin.String,

@Json(name = "sip_trunk_number")
val sipTrunkNumber: kotlin.String
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Copyright (c) 2014-2026 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package io.getstream.android.video.generated.models

import kotlin.collections.List
import kotlin.collections.Map
import kotlin.collections.*
import kotlin.io.*
import com.squareup.moshi.FromJson
import com.squareup.moshi.Json
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.JsonReader
import com.squareup.moshi.JsonWriter
import com.squareup.moshi.ToJson

/**
* Response containing the pre-authentication decision for a SIP trunk
*/

data class ResolveSipAuthResponse (
@Json(name = "auth_result")
val authResult: kotlin.String,

@Json(name = "duration")
val duration: kotlin.String,

@Json(name = "password")
val password: kotlin.String? = null,

@Json(name = "trunk_id")
val trunkId: kotlin.String? = null,

@Json(name = "username")
val username: kotlin.String? = null
)
Loading
Loading