TeaWeb/web/app/voice/VoiceClient.ts

16 lines
374 B
TypeScript

import {VoiceClient} from "tc-shared/voice/VoiceClient";
import {VoicePlayer} from "./VoicePlayer";
export class RtpVoiceClient extends VoicePlayer implements VoiceClient {
private readonly clientId: number;
constructor(clientId: number) {
super();
this.clientId = clientId;
}
getClientId(): number {
return this.clientId;
}
}