"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class RTCTrackEvent {
    constructor(type, eventInitDict) {
        this.streams = [];
        this.type = type.toString();
        this.streams = eventInitDict.streams;
        this.transceiver = eventInitDict.transceiver;
        this.receiver = eventInitDict.transceiver.receiver;
        this.track = eventInitDict.transceiver.receiver ? eventInitDict.transceiver.receiver.track : null;
    }
}
exports.default = RTCTrackEvent;
//# sourceMappingURL=RTCTrackEvent.js.map