|
|
@@ -23,21 +23,21 @@
|
|
|
<div class="l-flex--row c-grid-form__option">
|
|
|
<el-input-number
|
|
|
v-model="recordConfig.videoBitRate"
|
|
|
- :min="100"
|
|
|
+ :min="36"
|
|
|
:max="999999"
|
|
|
step-strictly
|
|
|
/>
|
|
|
- Kbps(最低100Kbps)
|
|
|
+ Kbps(最低36Kbps)
|
|
|
</div>
|
|
|
<span class="c-grid-form__label">帧率:</span>
|
|
|
<div class="l-flex--row c-grid-form__option">
|
|
|
<el-input-number
|
|
|
v-model="recordConfig.frameRate"
|
|
|
- :min="10"
|
|
|
- :max="60"
|
|
|
+ :min="1"
|
|
|
+ :max="24"
|
|
|
step-strictly
|
|
|
/>
|
|
|
- 10~60
|
|
|
+ 1~24
|
|
|
</div>
|
|
|
</div>
|
|
|
</confirm-dialog>
|
|
|
@@ -69,17 +69,17 @@ export default {
|
|
|
deviceId: id,
|
|
|
videoWidth,
|
|
|
videoHeight,
|
|
|
- videoBitRate: videoBitRate / 1000,
|
|
|
+ videoBitRate: videoBitRate / 1024 | 0,
|
|
|
frameRate
|
|
|
}
|
|
|
} else {
|
|
|
this.$has = false
|
|
|
this.recordConfig = {
|
|
|
deviceId: id,
|
|
|
- videoWidth: 1920,
|
|
|
- videoHeight: 1080,
|
|
|
- videoBitRate: 2048,
|
|
|
- frameRate: 30
|
|
|
+ videoWidth: 640,
|
|
|
+ videoHeight: 360,
|
|
|
+ videoBitRate: 36,
|
|
|
+ frameRate: 1
|
|
|
}
|
|
|
}
|
|
|
this.$refs.configDialog.show()
|
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
deviceId,
|
|
|
videoWidth,
|
|
|
videoHeight,
|
|
|
- videoBitRate: videoBitRate * 1000,
|
|
|
+ videoBitRate: videoBitRate * 1024,
|
|
|
frameRate
|
|
|
}).then(done)
|
|
|
}
|