Update to Android transports 0.3.7
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,6 +16,7 @@ dependencyResolutionManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user