Update to Android transports 0.3.7

This commit is contained in:
marcus-daily
2025-06-09 16:28:34 +01:00
committed by Marcus
parent 25d1515daf
commit db46f33f34
4 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
accompanistPermissions = "0.34.0"
agp = "8.7.3"
constraintlayoutCompose = "1.1.0"
pipecatClient = "0.3.6"
pipecatClient = "0.3.7"
kotlin = "2.0.20"
coreKtx = "1.15.0"
lifecycleRuntimeKtx = "2.8.7"

View File

@@ -2,7 +2,7 @@
accompanistPermissions = "0.34.0"
agp = "8.7.3"
constraintlayoutCompose = "1.1.0"
pipecatClientDaily = "0.3.2"
pipecatClientDaily = "0.3.7"
kotlin = "2.0.20"
coreKtx = "1.15.0"
lifecycleRuntimeKtx = "2.8.7"

View File

@@ -16,6 +16,7 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
mavenLocal()
}
}

View File

@@ -16,6 +16,7 @@ import ai.pipecat.client.types.ServiceConfig
import ai.pipecat.client.types.Tracks
import ai.pipecat.client.types.Transcript
import ai.pipecat.client.types.TransportState
import ai.pipecat.client.types.Value
import ai.pipecat.simple_chatbot_client.utils.Timestamp
import android.content.Context
import android.util.Log
@@ -88,6 +89,10 @@ class VoiceClientManager(private val context: Context) {
}
}
override fun onServerMessage(data: Value) {
Log.i(TAG, "onServerMessage: $data")
}
override fun onBotReady(version: String, config: List<ServiceConfig>) {
Log.i(TAG, "Bot ready. Version $version, config: $config")