Audio Input Issue

Original Discord Post by clara_31572 | 2024-11-11 03:12:42

Hello @Unreal Engine Team My program is very laggy and when I press ‘T’ for Talk, this error appears. However, the microphone works in other applications. Additionally, when I talk on the Convai website with characters, it says:
LogEOSSDK: Warning: LogEOS: Error response received from backend. ServiceName=[Friend], OperationName=[GetBlockList], Url=[], HttpStatus=[403], ErrorCode=[errors.com.epicgames.common.insufficient_scopes], NumericErrorCode=[1056], ErrorMessage=[Insufficient access scopes. Expected: [friends_list]], CorrId=[EOS-ih0FQt6I_EiKttSRHDskLg–06X6c38FkiUm1-jl3Effw]
ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:No audio data received. Please check your audio input device / microphone. | Error Details: | Error Code:9 | Character ID:eaee712c-9caa-11ef-b8f3-42010a7be016 | Session ID:-1
ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:No audio data received. Please check your audio input device / microphone. | Error Details: | Error Code:9 | Character ID:eaee712c-9caa-11ef-b8f3-42010a7be016 | Session ID:bde34cafe77d66e676eca19626a187c9
[2024.11.11-10.22.43:673][727]ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:No audio data received. Please check your audio input device / microphone. | Error Details: | Error Code:9 | Character ID:eaee712c-9caa-11ef-b8f3-42010a7be016 | Session ID:-1
[2024.11.11-10.24.44:337][122]LogWindows: Warning: OpenClipboard failed with error code 5

Reply by k3kalinix | 2024-11-11 07:23:17

Hello <@1305345695695245313>,

Open Settings by pressing F10. Then make sure the correct microphone is selected from the microphone devices.

Reply by claraakhlaghi | 2024-11-11 08:50:12

It works if I hold the T key a little longer. Is there any way to reduce the lag?

Reply by k3kalinix | 2024-11-11 08:51:18

Sorry, I don’t understand the problem, already you have to hold down T.

Reply by clara_31572 | 2024-11-11 09:54:54

I get this if I press T:[2024.11.11-17.51.51:278][996]ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:No audio data received. Please check your audio input device / microphone. | Error Details: | Error Code:9 | Character ID:eaee712c-9caa-11ef-b8f3-42010a7be016 | Session ID:-1
[2024.11.11-17.51.51:280][996]ConvaiChatbotComponentLog: Warning: UConvaiChatbotComponent Get Response Failed! | Character ID : eaee712c-9caa-11ef-b8f3-42010a7be016 | Session ID : -1

Reply by k3kalinix | 2024-11-11 09:58:27

Could you please show me your microphones in the settings panel?

Reply by claraakhlaghi | 2024-11-11 10:27:21

Images:

Reply by k3kalinix | 2024-11-11 21:46:54

Do you use this microphone in other apps?

Reply by clara_31572 | 2024-11-12 03:38:15

yes and it works just fine

Reply by k3kalinix | 2024-11-12 08:55:18

We will need to test if your microphone is picked up by the Unreal API for audio input.

You can test by following this video: https://www.youtube.com/watch?v=uxCsaF1faaA

Embedded Content:
How to Record Audio with Microphone in Unreal Engine 5 and 5 1
A quick and short tutorial on how to record audio with your microphone in Unreal Engine 5 and above. Even though this is simple the documentation was lacking and took me a while to figure out.

Here is the documentation for submixes in Unreal Engine:

https://docs.unrealengine.com/4.27/en-US/WorkingWithAudio/Submixes/
Link: https://www.youtube.com/watch?v=uxCsaF1faaA

This conversation happened on the Convai Discord Server, so this post will be closed.