24 lines
708 B
Dart
24 lines
708 B
Dart
import 'package:star_lock/talk/starChart/proto/talk_expect.pb.dart';
|
|
|
|
class TalkConstant {
|
|
// TalkPing 未收到回复超时时间(s)
|
|
static const int talkePingOverTime = 10;
|
|
static const int talkeDataOverTime = 10;
|
|
|
|
// 收到TalkRequest 未处理超时时间(s)
|
|
static const int talkeRequestOverTime = 30;
|
|
|
|
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],
|
|
);
|
|
}
|