Skip to content

Refactor live bidi #6870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Apr 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
fa6fcf4
Temp Stash
daymxn Apr 11, 2025
9654496
Fix audiohelper bug
daymxn Apr 11, 2025
c906509
Rename class
daymxn Apr 11, 2025
909a730
Remove mediadata
daymxn Apr 11, 2025
d3bf812
Remove id changes, but leave a TODO
daymxn Apr 11, 2025
19147e3
Remove testing artifacts
daymxn Apr 11, 2025
61f6f4c
Update APIController.kt
daymxn Apr 11, 2025
6df1ef0
Formatting
daymxn Apr 11, 2025
b3e5bd9
Add docs to AudioHelper
daymxn Apr 11, 2025
28171b4
Update AudioHelper.kt
daymxn Apr 11, 2025
5df85dc
Document accumulateUntil
daymxn Apr 11, 2025
1bed4eb
Add back stopReceiving
daymxn Apr 11, 2025
89ec5a9
Add additional documentation
daymxn Apr 11, 2025
b3b9678
Cleanup javadocs
daymxn Apr 11, 2025
fbae7cb
Use blocking instead of background dispatcher
daymxn Apr 11, 2025
3d390a1
Emit empty buffer if no data is read
daymxn Apr 11, 2025
51d1fec
Add documentation for util methods
daymxn Apr 11, 2025
7de0eb7
Decode setupComplete to json
daymxn Apr 11, 2025
b137cd9
Update javadocs
daymxn Apr 11, 2025
3b408dc
Update java javadocs to match kotlin
daymxn Apr 11, 2025
cc8969a
Update CHANGELOG.md
daymxn Apr 11, 2025
8c99ced
fmt
daymxn Apr 11, 2025
c9dda5c
Add missing copyright
daymxn Apr 11, 2025
a0cb879
Update api.txt
daymxn Apr 11, 2025
b79f27f
Add back MediaData
daymxn Apr 14, 2025
d534ef0
Update CHANGELOG.md
daymxn Apr 14, 2025
73a0e3b
Merge branch 'main' into daymon-update-bidi
daymxn Apr 14, 2025
97d46cb
Use ByteArrayOutputStream
daymxn Apr 15, 2025
9fae0b8
Add catching for exceptions
daymxn Apr 15, 2025
0df186c
Handle the return value on write to playback track
daymxn Apr 15, 2025
b90e10d
Add note about startAudioConversation and sendFunctionResponse
daymxn Apr 15, 2025
f40dcfa
Catch recorder.stop exception
daymxn Apr 15, 2025
795dcfe
Add docs for exceptions thrown
daymxn Apr 15, 2025
e6475c7
Use a fold instead of a collect
daymxn Apr 15, 2025
b7b0f13
Merge branch 'main' into daymon-update-bidi
daymxn Apr 15, 2025
2e2892a
Update AudioHelper.kt
daymxn Apr 15, 2025
87f1ffa
Update android.kt
daymxn Apr 15, 2025
1ff1618
Update LiveSession.kt
daymxn Apr 15, 2025
644a50b
Update android.kt
daymxn Apr 15, 2025
0a1a48a
Merge branch 'main' into daymon-update-bidi
daymxn Apr 15, 2025
8f199ef
Revert "Update android.kt"
daymxn Apr 15, 2025
e38febd
Update android.kt
daymxn Apr 15, 2025
ab359fb
Update LiveSessionFutures.kt
daymxn Apr 15, 2025
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
Prev Previous commit
Next Next commit
Update AudioHelper.kt
  • Loading branch information
daymxn committed Apr 11, 2025
commit 28171b4d88af1aefe3afa7c3e4b8015d4b4e287c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import kotlinx.coroutines.flow.emptyFlow
* Helper class for recording audio and playing back a separate audio track at the same time.
*
* @see AudioHelper.build
* @see LiveSession.startAudioConversation
*/
@PublicPreviewAPI
internal class AudioHelper(
Expand Down