"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapMediaStream = wrapMediaStream;
const _1 = require("../Class/$");
function wrapMediaStream(mediaStream, system) {
    const stream = new (class Stream extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['MS'];
        }
        async mediaStream() {
            return mediaStream;
        }
        async getVideoTracks() {
            return mediaStream.getVideoTracks();
        }
    })(system);
    return stream;
}
//# sourceMappingURL=MediaStream.js.map