MidiControl icon indicating copy to clipboard operation
MidiControl copied to clipboard

Doesn't work randomly using OBS

Open alexdelli opened this issue 3 years ago • 10 comments

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

alexdelli avatar Jan 08 '23 16:01 alexdelli

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

Etuldan avatar Jan 08 '23 17:01 Etuldan

Warzone for sure, I try to test with other windows or applications

Il giorno dom 8 gen 2023 alle 18:59 RENAUD-GOUD Arnaud < @.***> ha scritto:

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

— Reply to this email directly, view it on GitHub https://github.com/Etuldan/MidiControl/issues/27#issuecomment-1374892099, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS5P2ISRASHJBSI3RWXMITWRL565ANCNFSM6AAAAAATUVBFNU . You are receiving this because you authored the thread.Message ID: @.***>

-- Sent from Gmail Mobile

alexdelli avatar Jan 08 '23 18:01 alexdelli

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

alexdelli avatar Jan 09 '23 09:01 alexdelli

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 ?

Etuldan avatar Jan 09 '23 12:01 Etuldan

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 ..

sense-amr avatar Jan 09 '23 13:01 sense-amr

MidiControl should be compatible with latest version of OBS.

Etuldan avatar Jan 09 '23 13:01 Etuldan

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

sense-amr avatar Jan 09 '23 13:01 sense-amr

image

sense-amr avatar Jan 09 '23 13:01 sense-amr

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 avatar Jan 11 '23 10:01 alexdelli

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 avatar Jan 11 '23 21:01 alexdelli