-
-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Labels
p:openai_realtime_dartopenai_realtime_dart packageopenai_realtime_dart packaget:documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Issue with current documentation:
Can someone please give an example on how to play the received audio file? I'm using just_audio and passed the Uint8list bytes as the source but it's playing like a noise output instead of the actual voice response. My code below
client.on(RealtimeEventType.conversationItemCompleted, (event) async {
final item = (event as RealtimeEventConversationItemCompleted).item;
final audio = item.formatted!.audio;
await player.setAudioSource(AudioBytesSource(audio));
await player.play();
});
Idea or request for content:
No response
mono0926, caleb654 and DevAhmadAmini
Metadata
Metadata
Assignees
Labels
p:openai_realtime_dartopenai_realtime_dart packageopenai_realtime_dart packaget:documentationImprovements or additions to documentationImprovements or additions to documentation
Projects
Status
📋 Backlog