infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
16 lines • 553 B
JavaScript
import { RemoteMediaStats } from "../RemoteMediaStats";
export class AudioRemoteMediaStats extends RemoteMediaStats {
constructor(id) {
super(id);
this.jitter = 0;
this.concealedSamples = 0;
this.concealmentEvents = 0;
}
get video() {
return false;
}
toJSON() {
return Object.assign(Object.assign({}, super.toJSON()), { jitter: this.jitter, concealedSamples: this.concealedSamples, concealmentEvents: this.concealmentEvents });
}
}
//# sourceMappingURL=AudioRemoteMediaStats.js.map