Compare commits

...

3 Commits

Author SHA1 Message Date
阿斌
483ae18d89
Pre Merge pull request !41 from 阿斌/N/A 2026-02-09 08:22:49 +00:00
lin
b1b4d065a5 调整jessibuca组件配置,禁用MSE以获取更好的兼容性 2026-02-09 16:22:31 +08:00
阿斌
34d1dbb399
修复两次密码不一致时,任然可以修改密码,且成功提交,密码用*代替
还有以下一处需要修改web\src\layout\components\dialog\changePassword.vue

Signed-off-by: 阿斌 <38912748@qq.com>
2025-08-23 15:03:02 +00:00
5 changed files with 14 additions and 6 deletions

View File

@ -279,7 +279,7 @@ public class SIPCommander implements ISIPCommander {
content.append("y=" + ssrcInfo.getSsrc() + "\r\n");//ssrc
// f字段:f= v/编码格式/分辨率/帧率/码率类型/码率大小a/编码格式/码率大小/采样率
// content.append("f=v/2/5/25/1/4000a/1/8/1" + "\r\n"); // 未发现支持此特性的设备
// content.append("f=v/2/6/25/1/4000a/6/8/1" + "\r\n"); // 未发现支持此特性的设备
Request request = headerProvider.createInviteRequest(device, channel.getDeviceId(), content.toString(), SipUtils.getNewViaTag(), SipUtils.getNewFromTag(), null, ssrcInfo.getSsrc(),sipSender.getNewCallIdHeader(sipLayer.getLocalIp(device.getLocalIp()),device.getTransport()));
sipSender.transmitRequest(sipLayer.getLocalIp(device.getLocalIp()), request, (e -> {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -89,7 +89,7 @@ export default {
container: this.$refs.container,
videoBuffer: 0,
isResize: true,
useMSE: true,
useMSE: false,
useWCS: false,
text: '',
// background: '',

View File

@ -13,10 +13,10 @@
<div id="shared" style="margin-right: 20px;">
<el-form ref="passwordForm" :rules="rules" status-icon label-width="80px">
<el-form-item label="新密码" prop="newPassword">
<el-input v-model="newPassword" autocomplete="off" />
<el-input v-model="newPassword" autocomplete="off" type="password" />
</el-form-item>
<el-form-item label="确认密码" prop="confirmPassword">
<el-input v-model="confirmPassword" autocomplete="off" />
<el-input v-model="confirmPassword" autocomplete="off" type="password" />
</el-form-item>
<el-form-item>
@ -88,6 +88,14 @@ export default {
}
},
onSubmit: function() {
if (this.newPassword !== this.confirmPassword) {
this.$message({
showClose: true,
message: '两次输入密码不一致!',
type: 'error'
})
return
}
this.$store.dispatch('user/changePasswordForAdmin', {
password: this.newPassword,
userId: this.form.id