前端开窗时使用默认音量

This commit is contained in:
fangxiang 2022-05-25 16:15:35 +08:00
parent 2d79e558fa
commit c7cc7289a6
1 changed files with 0 additions and 4 deletions

View File

@ -764,7 +764,6 @@ export default defineComponent({
let width = 0; let width = 0;
let height = 0; let height = 0;
let muted = true; let muted = true;
let volume = 20;
let paused = false; let paused = false;
let play_speed = 1; let play_speed = 1;
let find_flag = false; let find_flag = false;
@ -806,7 +805,6 @@ export default defineComponent({
width = window.width; width = window.width;
height = window.height; height = window.height;
muted = window.muted; muted = window.muted;
volume = window.volume;
paused = window.paused; paused = window.paused;
play_speed = window.play_speed; play_speed = window.play_speed;
find_window = window.window_id; find_window = window.window_id;
@ -863,7 +861,6 @@ export default defineComponent({
height height
); );
open_polling_request.muted = muted; open_polling_request.muted = muted;
open_polling_request.volume = volume;
open_polling_request.paused = paused; open_polling_request.paused = paused;
open_polling_request.play_speed = play_speed; open_polling_request.play_speed = play_speed;
GlobalData.getInstance() GlobalData.getInstance()
@ -883,7 +880,6 @@ export default defineComponent({
height height
); );
open_window_request.muted = muted; open_window_request.muted = muted;
open_window_request.volume = volume;
open_window_request.paused = paused; open_window_request.paused = paused;
open_window_request.play_speed = play_speed; open_window_request.play_speed = play_speed;
if (signal_sources.length) { if (signal_sources.length) {