Code Monkey home page Code Monkey logo

Comments (9)

LeonMarcel-HD avatar LeonMarcel-HD commented on July 24, 2024

The Overlay seems to not update when you switch the tab in the TeamSpeak Client. Or is it only intended to switch when you can talk on the other server?

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

The Overlay seems to not update when you switch the tab in the TeamSpeak Client. Or is it only intended to switch when you can talk on the other server?

Should switch when you switch the active tab.

TeamSpeak doesn't give feedback when you switch tabs, so I use the "clientSelfPropertyUpdated" event. This event is triggered when the microphone is unmuted when switching tabs (In TS5, the hardware microphone is always muted when you have another server open). So it's kind of a workaround.

So, correctly expressed, the server on which the hardware input was last unmuted is the active server.

ezgif com-video-to-gif

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

There is one problem: when you connect to a new server, you have to switch back and forth once (because of the hardware input workaround).

ezgif com-video-to-gif (2)

from ts5-obs-overlay.

LeonMarcel-HD avatar LeonMarcel-HD commented on July 24, 2024

There is a TeamSpeak setting which automatically mutes and unmutes you depending on which tab is currently visible. Since I had that disabled and since a few updates it is no longer on by default I was a bit confused. But if I remember correctly the client should give you some kind of update when the active tab is switched. (Need to check that later today)

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

hope we find a better solution

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

The only extra event i get is the serverPropertiesUpdated event, but they don't seem to make sense.

I switched between two different servers and got an event with the same connectionId (4).
I don't really know what I could read out of this.

image
(I console.log all WS-Events I get by TS)

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

I noticed that the auth payload sent by TeamSpeak gives me a currentConnectionId, but this seems to be always 0.

If I would get the correct connectionId and not just 0, I could "reauth" every time I get a serverPropertiesChangeEvend and update the clients.

image

from ts5-obs-overlay.

LeonMarcel-HD avatar LeonMarcel-HD commented on July 24, 2024

The serverPropertiesUpdated event is sent, when you click onto the server in the server tree, so that you get the Server Name, Banner, Button and the options to edit the Server on the right. Now when switching the Tab, it only logs an serverPropertiesUpdated, when the Server is selected at the top, if the client is selected it wont get triggered

from ts5-obs-overlay.

DerTyp7 avatar DerTyp7 commented on July 24, 2024

https://community.teamspeak.com/t/remote-app-get-an-event-when-the-client-switches-the-active-server-tab/41597

from ts5-obs-overlay.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.