Compare commits

..

2 Commits

Author SHA1 Message Date
Janis
f296bba7d6 [fix] fixed a bug when connected twice to the same server 2023-06-28 23:32:18 +02:00
Janis
268252bf56 Update README.md 2023-06-28 19:19:16 +02:00
2 changed files with 4 additions and 3 deletions

View File

@@ -12,8 +12,9 @@ This App uses the new "Remote Apps" feature of Teamspeak 5.
## Setup
1. Download the `index.html` of the latest release from [here](https://github.com/DerTyp876/ts5-obs-overlay/releases/tag/v1.0.0)
![image](https://github.com/DerTyp876/ts5-obs-overlay/assets/76851529/04dc3a66-c493-429b-b4ae-44bade473ad6)
1. Download the `index.html` of the latest release from [here](https://github.com/DerTyp876/ts5-obs-overlay/releases/tag/v1.0.0)
![image](https://github.com/DerTyp876/ts5-obs-overlay/assets/76851529/04dc3a66-c493-429b-b4ae-44bade473ad6)
1.1. (optional) You can rename the file. Just remember using the new file name in the future instead of `index.html`
2. Go into the Teamspeak 5 Settings and enable "Remote Apps"
![image](https://github.com/DerTyp876/ts5-obs-overlay/assets/76851529/b31bc553-fde2-46ab-b07c-d3c81339cc7d)

View File

@@ -57,7 +57,7 @@ export default function App() {
<Viewer
clients={
clients.map((client) => {
if (client.channel?.id === currentChannel?.id) {
if (client.channel?.id === currentChannel?.id && client.channel.connection.id === activeConnectionId) {
return client;
}
}) as IClient[]