|
|
|
@ -244,10 +244,12 @@ export default {
|
|
|
|
|
size: "0KB",
|
|
|
|
|
length: 0,
|
|
|
|
|
},
|
|
|
|
|
allOutputDevices: [{
|
|
|
|
|
allOutputDevices: [
|
|
|
|
|
{
|
|
|
|
|
deviceId: "default",
|
|
|
|
|
label: "settings.permissionRequired"
|
|
|
|
|
}],
|
|
|
|
|
label: "settings.permissionRequired",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
withoutAudioPriviledge: true,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
@ -399,8 +401,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getAllOutputDevices() {
|
|
|
|
|
navigator.mediaDevices.
|
|
|
|
|
getUserMedia({ audio: true })
|
|
|
|
|
navigator.mediaDevices
|
|
|
|
|
.getUserMedia({ audio: true })
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.withoutAudioPriviledge = false;
|
|
|
|
|
navigator.mediaDevices
|
|
|
|
@ -413,11 +415,13 @@ export default {
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.allOutputDevices = [{
|
|
|
|
|
this.allOutputDevices = [
|
|
|
|
|
{
|
|
|
|
|
deviceId: "default",
|
|
|
|
|
label: "settings.permissionDenied",
|
|
|
|
|
}];
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
logout() {
|
|
|
|
|
doLogout();
|
|
|
|
|