import { RTCRtpTransceiver } from "../../../../werift/webrtc/src" ; import { Media } from "../media/media" ; import { MCU } from "./mcu" ; export class MCUManager { mcu : { [ mcuId ] : MCU ; } = { } ; getMCU ( mcuId ) { return this . mcu [ mcuId ] ; } createMCU ( medias , subscriber ) { const mcu = new MCU ( medias , subscriber ) ; this . mcu [ mcu . id ] = mcu ; return mcu ; } }