TeaWeb/web/app/voice/VoiceClient.ts

15 lines
397 B
TypeScript
Raw Normal View History

2020-09-07 12:42:00 +02:00
import {VoiceClient} from "tc-shared/voice/VoiceClient";
import {WebVoicePlayer} from "tc-backend/web/voice/VoicePlayer";
2020-03-30 13:44:18 +02:00
2020-09-07 12:42:00 +02:00
export class VoiceClientController extends WebVoicePlayer implements VoiceClient {
private readonly clientId: number;
2020-03-30 13:44:18 +02:00
2020-09-07 12:42:00 +02:00
constructor(clientId) {
super();
this.clientId = clientId;
2020-03-30 13:44:18 +02:00
}
2020-09-07 12:42:00 +02:00
getClientId(): number {
return this.clientId;
2019-04-04 21:47:52 +02:00
}
}