2020-11-07 13:16:07 +01:00
|
|
|
import {VoiceClient} from "tc-shared/voice/VoiceClient";
|
2020-11-28 19:33:54 +01:00
|
|
|
import {VoicePlayer} from "./VoicePlayer";
|
2020-11-07 13:16:07 +01:00
|
|
|
|
2020-11-28 19:33:54 +01:00
|
|
|
export class RtpVoiceClient extends VoicePlayer implements VoiceClient {
|
2020-11-07 13:16:07 +01:00
|
|
|
private readonly clientId: number;
|
|
|
|
|
|
|
|
constructor(clientId: number) {
|
2020-11-28 12:58:22 +01:00
|
|
|
super();
|
2020-11-07 13:16:07 +01:00
|
|
|
|
2020-11-28 12:58:22 +01:00
|
|
|
this.clientId = clientId;
|
2020-11-17 11:27:14 +01:00
|
|
|
}
|
|
|
|
|
2020-11-07 13:16:07 +01:00
|
|
|
getClientId(): number {
|
|
|
|
return this.clientId;
|
|
|
|
}
|
|
|
|
}
|