"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class RTCSessionDescription {
    constructor(info = { type: null, sdp: '' }) {
        this._sdp = info.sdp;
        this._type = info.type;
    }
    get sdp() {
        return this._sdp;
    }
    get type() {
        return this._type;
    }
    toJSON() {
        return {
            sdp: this._sdp,
            type: this._type
        };
    }
}
exports.default = RTCSessionDescription;
//# sourceMappingURL=RTCSessionDescription.js.map