obs websocket

miglito76

New Member
Ola viva, estou com problema fica extremamente agradecido se me ajudassem, tenho o Obs 29.0.2 instalado e não consigo instalar nenhum obs-websocket(pois sempre que início o obs da me um erro "falha a carregar os seguintes plugins...") para que fique a funcionar . podem me dizer como o fazer ? Muito obrigada
 

Harold

Active Member
Attempting to install improper websocket plugins will not function and can break core functionality of obs.

Remove the plugin you attempted to use then press "Help - Check File Integrity" within obs.
 

miglito76

New Member
A tentativa de instalar plug-ins de websocket impróprios não funcionará e pode interromper a funcionalidade principal do obs.

Remova o plug-in que você tentou usar e pressione "Ajuda - Verificar integridade do arquivo" em obs.
desde já obrigado pela ajuda, já o removi mas como posso fazer "ajuda...."
 

AaronD

Active Member
Websocket functions are built in to obs, you do not need a plugin anymore
That is true, but it works differently. So whatever talks to it needs to be updated too.

I found that out when I still had a Python script to coordinate two copies of OBS. I did it originally with OBS 27 and the websocket plugin, and got that to work just fine. Then I updated to OBS 29 and it wouldn't connect. It took a different Python library to make it work again.

The WebSocket itself is compatible, but the OBS-specific protocol / language that runs on top of it is different.

Now that my coordination is in the Advanced Scene Switcher plugin, which itself handles WebSockets through OBS's built-in server, I don't have to think about it. I just send "a WebSocket message" from one copy to the other, and it "just gets there".
 

miglito76

New Member
Isso é verdade, mas funciona de maneira diferente. Portanto, tudo o que fala com ele também precisa ser atualizado.

Descobri isso quando ainda tinha um script Python para coordenar duas cópias do OBS. Eu fiz isso originalmente com o OBS 27 e o plugin websocket, e consegui que funcionasse bem. Depois atualizei para o OBS 29 e não conectava. Foi necessária uma biblioteca Python diferente para fazê-la funcionar novamente.

O WebSocket em si é compatível, mas o protocolo/linguagem específico do OBS que é executado sobre ele é diferente.

Agora que minha coordenação está no plug-in Advanced Scene Switcher , que lida com WebSockets por meio do servidor integrado do OBS, não preciso pensar nisso. Acabei de enviar "uma mensagem WebSocket" de uma cópia para a outra e ela "simplesmente chega lá".
muito obrigada pela respostas , então como devo proceder para poder instalar o websocket?
 

AaronD

Active Member
muito obrigada pela respostas , então como devo proceder para poder instalar o websocket?

You don't install it. It's already there:

1681923801594.png


The real question is, "How to connect something else to it?" I used to know that, when I set up the Python script to use the new version, but I've forgotten now. I remember it being easy enough to find though.

You'll need something that uses OBS's new protocol / language. If you're asking because it doesn't work after an update, that would be why. As far as I know, you can't go back to the old protocol / language without downgrading to OBS 27 or older and then installing the old plugin.
 
Top