diff --git a/src/components/Device/components/ControlBar/Synergy/index.vue b/src/components/Device/components/ControlBar/Synergy/index.vue
index 04caee4..35a7b22 100644
--- a/src/components/Device/components/ControlBar/Synergy/index.vue
+++ b/src/components/Device/components/ControlBar/Synergy/index.vue
@@ -58,8 +58,8 @@ export default {
},
},
methods: {
- scrcpyArgs(...args) {
- return this.$store.preference.getScrcpyArgs(...args)
+ scrcpyParams(...args) {
+ return this.$store.preference.scrcpyParameter(...args)
},
preferenceData(...args) {
return this.$store.preference.getData(...args)
@@ -82,7 +82,7 @@ export default {
`${this.$store.device.getLabel(
this.device,
)}-displayId-${displayId}`,
- args: this.scrcpyArgs(this.device.id),
+ args: this.scrcpyParams(this.device.id),
})
res.forEach((item) => {
diff --git a/src/components/Device/components/MirrorAction/index.vue b/src/components/Device/components/MirrorAction/index.vue
index 46f917e..efcb32b 100644
--- a/src/components/Device/components/MirrorAction/index.vue
+++ b/src/components/Device/components/MirrorAction/index.vue
@@ -37,7 +37,7 @@ export default {
this.toggleRowExpansion(row, true)
- const args = this.$store.preference.getScrcpyArgs(row.id, {
+ const args = this.$store.preference.scrcpyParameter(row.id, {
excludes: ['--otg', '--mouse=aoa', '--keyboard=aoa'],
})
diff --git a/src/components/Device/components/MoreDropdown/components/Camera/index.vue b/src/components/Device/components/MoreDropdown/components/Camera/index.vue
index e7cf886..1f58405 100644
--- a/src/components/Device/components/MoreDropdown/components/Camera/index.vue
+++ b/src/components/Device/components/MoreDropdown/components/Camera/index.vue
@@ -29,7 +29,7 @@ export default {
this.toggleRowExpansion(row, true)
- const args = `--video-source=camera ${this.$store.preference.getScrcpyArgs(
+ const args = `--video-source=camera ${this.$store.preference.scrcpyParameter(
row.id,
{
excludes: [
diff --git a/src/components/Device/components/MoreDropdown/components/Otg/index.vue b/src/components/Device/components/MoreDropdown/components/Otg/index.vue
index 5d12c65..0573cde 100644
--- a/src/components/Device/components/MoreDropdown/components/Otg/index.vue
+++ b/src/components/Device/components/MoreDropdown/components/Otg/index.vue
@@ -29,7 +29,7 @@ export default {
this.toggleRowExpansion(row, true)
- const args = `--otg ${this.$store.preference.getScrcpyArgs(row.id, {
+ const args = `--otg ${this.$store.preference.scrcpyParameter(row.id, {
excludes: [
'--mouse=uhid',
'--keyboard=uhid',
diff --git a/src/components/Device/components/MoreDropdown/components/Record/index.vue b/src/components/Device/components/MoreDropdown/components/Record/index.vue
index 16e792e..a87cfa7 100644
--- a/src/components/Device/components/MoreDropdown/components/Record/index.vue
+++ b/src/components/Device/components/MoreDropdown/components/Record/index.vue
@@ -32,7 +32,7 @@ export default {
const savePath = this.getRecordPath(row)
- const args = this.$store.preference.getScrcpyArgs(row.id, {
+ const args = this.$store.preference.scrcpyParameter(row.id, {
isRecord: true,
excludes: ['--otg', '--mouse=aoa', '--keyboard=aoa'],
})
diff --git a/src/components/Device/components/MoreDropdown/components/RecordCamera/index.vue b/src/components/Device/components/MoreDropdown/components/RecordCamera/index.vue
new file mode 100644
index 0000000..7efdf1d
--- /dev/null
+++ b/src/components/Device/components/MoreDropdown/components/RecordCamera/index.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
diff --git a/src/components/Device/components/MoreDropdown/index.vue b/src/components/Device/components/MoreDropdown/index.vue
index f6e4d3f..483247f 100644
--- a/src/components/Device/components/MoreDropdown/index.vue
+++ b/src/components/Device/components/MoreDropdown/index.vue
@@ -38,16 +38,18 @@