2020-09-07 12:42:00 +02:00
|
|
|
import {VoiceClient} from "tc-shared/voice/VoiceClient";
|
2020-11-17 14:27:46 +01:00
|
|
|
import {WebVoicePlayer} from "./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
|
|
|
}
|
2019-11-09 16:17:48 +01:00
|
|
|
|
2020-09-07 12:42:00 +02:00
|
|
|
getClientId(): number {
|
|
|
|
return this.clientId;
|
2019-04-04 21:47:52 +02:00
|
|
|
}
|
|
|
|
}
|