develop_sky #1

Merged
liyi merged 62 commits from develop_sky into develop_sky_liyi 2025-09-22 17:48:20 +08:00
3 changed files with 28 additions and 28 deletions
Showing only changes of commit 52f3ce64a4 - Show all commits

View File

@ -89,27 +89,27 @@ class _CatEyeCustomModePageState extends State<CatEyeCustomModePage> {
SizedBox(
height: 30.h,
),
Container(
margin: EdgeInsets.only(left: 20.w),
child: CommonItem(
leftTitel: '实时画面'.tr,
rightTitle: state.realTimeMode.value,
isHaveLine: false,
isHaveDirection: true,
isHaveRightWidget: false,
action: () {
Navigator.pushNamed(context, Routers.liveVideoPage,
arguments: {
'lockSetInfoData': state.lockSetInfoData.value,
'catEyeConfigData': state.lockSetInfoData.value
.lockSettingInfo!.catEyeConfig!.isNotEmpty
? state.lockSetInfoData.value.lockSettingInfo!
.catEyeConfig![0]
: null
});
},
),
)
// Container(
// margin: EdgeInsets.only(left: 20.w),
// child: CommonItem(
// leftTitel: '实时画面'.tr,
// rightTitle: state.realTimeMode.value,
// isHaveLine: false,
// isHaveDirection: true,
// isHaveRightWidget: false,
// action: () {
// Navigator.pushNamed(context, Routers.liveVideoPage,
// arguments: {
// 'lockSetInfoData': state.lockSetInfoData.value,
// 'catEyeConfigData': state.lockSetInfoData.value
// .lockSettingInfo!.catEyeConfig!.isNotEmpty
// ? state.lockSetInfoData.value.lockSettingInfo!
// .catEyeConfig![0]
// : null
// });
// },
// ),
// )
],
),
),

View File

@ -80,12 +80,12 @@ class _CatEyeSetPageState extends State<CatEyeSetPage> {
isHaveRightWidget: true,
rightWidget: _otherToDoSwitch(2),
)),
Obx(() => CommonItem(
leftTitel: '异常警告'.tr,
rightTitle: '',
isHaveLine: true,
isHaveRightWidget: true,
rightWidget: _otherToDoSwitch(3))),
// Obx(() => CommonItem(
// leftTitel: '异常警告'.tr,
// rightTitle: '',
// isHaveLine: true,
// isHaveRightWidget: true,
// rightWidget: _otherToDoSwitch(3))),
//ToDo
CommonItem(
leftTitel: '呼叫目标'.tr,

View File

@ -815,7 +815,7 @@ class TalkViewNativeDecodeLogic extends BaseGetXController {
return result;
}
static const int chunkSize = 320; // 32010ms G.711
static const int intervalMs = 40; // 40ms发送一次4chunk
static const int intervalMs = 35; // 40ms发送一次4chunk
void _sendAudioChunk(Timer timer) async {
if (_bufferedAudioFrames.length < chunkSize) {
//