19 lines
303 B
JavaScript
19 lines
303 B
JavaScript
const Page = require('../core/page');
|
|
const util = require('./util');
|
|
|
|
class Audio extends Page {
|
|
constructor() {
|
|
super('audio-test');
|
|
}
|
|
|
|
async test() {
|
|
return util.joinAudio(this);
|
|
}
|
|
|
|
async microphone() {
|
|
return util.joinMicrophone(this);
|
|
}
|
|
}
|
|
|
|
module.exports = exports = Audio;
|