You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Pull the latest code.
Run dotnet/samples/console-from-mic
Say anything
Any log messages given by the failure
Connecting to Azure OpenAI endpoint (AZURE_OPENAI_ENDPOINT): https://***.openai.azure.com/
Using API key (AZURE_OPENAI_API_KEY): cdcb3**
Using deployment (AZURE_OPENAI_DEPLOYMENT): gpt-4o-realtime-preview
<<< Connected: session started
Listening to microphone input
(Just tell the app you're done to finish)
<<< Start of speech detected @ 00:00:11.0400000
<<< End of speech detected @ 00:00:11.5200000
USER: Hi.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SpeakerOutput.EnqueueForPlayback(BinaryData audioData) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\SpeakerOutput.cs:line 29
at Program.Main(String[] args) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\Program.cs:line 93
at Program.Main(String[] args) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\Program.cs:line 42
at Program.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
<<< Connected: session started
<<< Start of speech detected @ 00:00:11.0400000
<<< End of speech detected @ 00:00:11.5200000
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
(String[] args)at SpeakerOutput.EnqueueForPlayback(BinaryData audioData) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\SpeakerOutput.cs:line 29
at Program.Main(String[] args) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\Program.cs:line 93
at Program.Main(String[] args) in C:\sandbox\aoai-realtime-audio-sdk\dotnet\samples\console-from-mic\Program.cs:line 42
at Program.
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
This works fine on the commit: 9d5f530
The text was updated successfully, but these errors were encountered: