24 lines
708 B
Dart
Raw Permalink Normal View History

2025-04-18 10:33:51 +08:00
import 'package:star_lock/talk/starChart/proto/talk_expect.pb.dart';
2024-12-30 17:26:30 +08:00
class TalkConstant {
// TalkPing 未收到回复超时时间(s)
2025-02-18 17:51:08 +08:00
static const int talkePingOverTime = 10;
static const int talkeDataOverTime = 10;
2025-04-18 10:33:51 +08:00
2024-12-30 17:26:30 +08:00
// 收到TalkRequest 未处理超时时间(s)
static const int talkeRequestOverTime = 30;
2025-04-18 10:33:51 +08:00
static TalkExpectReq ImageExpect = TalkExpectReq(
videoType: [VideoTypeE.IMAGE],
audioType: [AudioTypeE.G711],
);
static TalkExpectReq H264Expect = TalkExpectReq(
videoType: [VideoTypeE.H264],
audioType: [AudioTypeE.G711],
);
static TalkExpectReq H264_720P_Expect = TalkExpectReq(
videoType: [VideoTypeE.H264_720P],
audioType: [AudioTypeE.G711],
);
2024-12-30 17:26:30 +08:00
}