export default class Session {
    constructor(client, id) {
        this.client = client;
        this.callId = id;
        this.incoming = false;
        this.instanceId = 'fixme';
    }
    get id() {
        return this.callId;
    }
    getLocalMedia() {
        return [];
    }
    getPeerMedia() {
        return [];
    }
    answer(s) {
        return new Promise((resolve) => {
            this.client.answer(this.id);
            // @ts-ignore
            resolve();
        });
    }
}
//# sourceMappingURL=session.js.map