File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,7 @@ internal constructor(
102102 return if (receivedJson.contains(" setupComplete" )) {
103103 LiveSession (
104104 session = webSession,
105- backgroundDispatcher = backgroundDispatcher,
106- isRecording = false
105+ backgroundDispatcher = backgroundDispatcher
107106 )
108107 } else {
109108 webSession.close()
Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ public class LiveSession
4444internal constructor (
4545 private val session: ClientWebSocketSession ? ,
4646 @Background private val backgroundDispatcher: CoroutineContext ,
47- private var isRecording: Boolean ,
4847 private var audioHelper: AudioHelper ? = null
4948) {
5049
5150 private val audioQueue = ConcurrentLinkedQueue <ByteArray >()
5251 private val playBackQueue = ConcurrentLinkedQueue <ByteArray >()
5352 private var startedReceiving = false
5453 private var receiveChannel: Channel <Frame > = Channel ()
54+ private var isRecording: Boolean = false
5555
5656 private companion object {
5757 val TAG = LiveSession ::class .java.simpleName
You can’t perform that action at this time.
0 commit comments