Skip to content
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

Doesn't work randomly using OBS #27

Open
alexdelli opened this issue Jan 8, 2023 · 10 comments
Open

Doesn't work randomly using OBS #27

alexdelli opened this issue Jan 8, 2023 · 10 comments
Labels
bug Something isn't working obs OBS feature related

Comments

@alexdelli
Copy link

Hi, all commands works, but when I switch to game, and come back to desktop, the commands don't respond, so I have to reconnnect OBS with icon bottom left.
I'm using last version. Is there a log file to check?
thank youu

@Etuldan
Copy link
Owner

Etuldan commented Jan 8, 2023

It happens for all games ? Or only a specific one ?

@alexdelli
Copy link
Author

alexdelli commented Jan 8, 2023 via email

@alexdelli
Copy link
Author

It happens for all games ? Or only a specific one ?

ok, it is random. After 10 seconds or after 2 minutes..... in the OBS log I can't see anything.
When it happens, usually moving the volume up or down, the toggle move for 2mm, than all commands stop working

@Etuldan Etuldan added obs OBS feature related bug Something isn't working labels Jan 9, 2023
@Etuldan
Copy link
Owner

Etuldan commented Jan 9, 2023

Seems to be a time-out of the websocket.
When it happens, before you try to reconnect, could you check on OBS under the "Websocket server settings" if there is still an existing session ?

@sense-amr
Copy link

is this related to using the LATEST obs version ? because they introduced .. 5.01 websocket .. in the latest update.. i will not update to this version untill i know MidiControl works with it ..

@Etuldan
Copy link
Owner

Etuldan commented Jan 9, 2023

MidiControl should be compatible with latest version of OBS.

@sense-amr
Copy link

really? even if they have announced using a NEW version of websocket? which they have ..

@sense-amr
Copy link

image

@alexdelli
Copy link
Author

Seems to be a time-out of the websocket. When it happens, before you try to reconnect, could you check on OBS under the "Websocket server settings" if there is still an existing session ?

oh, I see your anwer now. I'll check this evening

@alexdelli
Copy link
Author

alexdelli commented Jan 11, 2023

this is the log

22:41:22.216: [obs-websocket] [WebSocketServer::onOpen] New WebSocket client has connected from [::ffff:192.168.1.2]:57740
22:42:02.389: User switched to scene 'Desktop'
22:42:06.369: warning: Could not update timestamps for discarded samples.
22:42:15.433: [obs-websocket] [WebSocketServer::onClose] WebSocket client [::ffff:192.168.1.2]:57740 has disconnected with code 1006 and reason: Connessione in corso interrotta forzatamente dall'host remoto.
22:42:16.290: [obs-websocket] [WebSocketServer::onOpen] New WebSocket client has connected from [::ffff:192.168.1.2]:57762
22:42:50.810: User switched to scene 'Game'
22:42:54.802: warning: Could not update timestamps for discarded samples.`

I tryed to lowering khz from 96000 to 48000 according to OBS settings, this is the new message log after unresponsive
22:50:26.172: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [48000 Hz] initialized

this is the setting for my Audient audio card:
Sample rate 48.000 khz
Asio Buffering 2048 samples

I'm thinking is something related to Audio, do you agree? or the code "1006" error

@alexdelli alexdelli changed the title Doesn't work after switch from Game to OBS Doesn't work randomly using OBS Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working obs OBS feature related
Projects
None yet
Development

No branches or pull requests

3 participants