-
Notifications
You must be signed in to change notification settings - Fork 345
AKStream的主要枚举类型说明
chatop2020 edited this page Jan 16, 2021
·
1 revision
/// <summary>
/// 设备网络类型
/// </summary>
[Serializable]
public enum DeviceNetworkType
{
Mobile, //移动网络
Fixed //固定网络
}
/// <summary>
/// 设备的流接入类型
/// </summary>
[Serializable]
public enum DeviceStreamType
{
GB28181,
Rtsp,
Http,
Rtmp,
}
/// <summary>
/// 拉流方式
/// </summary>
public enum MethodByGetStream
{
SelfMethod, //内置方法AddStreamProxy
UseFFmpeg, //引用ffmpeg,AddFFmpegSourceProxy
None, //不需要
}
/// <summary>
/// 排序方式
/// </summary>
public enum OrderBy
{
ASC,
DESC,
}
/// <summary>
/// 云台控制命令
/// </summary>
public enum PTZCommandType : int
{
/// <summary>
/// 停止
/// </summary>
Stop = 0,
/// <summary>
/// 上
/// </summary>
Up = 1,
/// <summary>
/// 左上
/// </summary>
UpLeft = 2,
/// <summary>
/// 右下
/// </summary>
UpRight = 3,
/// <summary>
/// 下
/// </summary>
Down = 4,
/// <summary>
/// 左下
/// </summary>
DownLeft = 5,
/// <summary>
/// 右下
/// </summary>
DownRight = 6,
/// <summary>
/// 左
/// </summary>
Left = 7,
/// <summary>
/// 右
/// </summary>
Right = 8,
/// <summary>
/// 聚焦+
/// </summary>
Focus1 = 9,
/// <summary>
/// 聚焦-
/// </summary>
Focus2 = 10,
/// <summary>
/// 变倍+
/// </summary>
Zoom1 = 11,
/// <summary>
/// 变倍-
/// </summary>
Zoom2 = 12,
/// <summary>
/// 光圈开
/// </summary>
Iris1 = 13,
/// <summary>
/// 光圈关
/// </summary>
Iris2 = 14,
/// <summary>
/// 设置预置位
/// </summary>
SetPreset = 15,
/// <summary>
/// 调用预置位
/// </summary>
GetPreset = 16,
/// <summary>
/// 删除预置位
/// </summary>
RemovePreset = 17,
/// <summary>
/// 未知
/// </summary>
UnKnow = 18,
}
/// <summary>
/// 推流套接字类型
/// </summary>
public enum PushStreamSocketType
{
UDP,
TCP
}
/// <summary>
/// Sip通道类型
/// </summary>
public enum SipChannelType
{
/// <summary>
/// 音视频流通道
/// </summary>
VideoChannel,
/// <summary>
/// 报警通道
/// </summary>
AlarmChannel,
/// <summary>
/// 音频流通道
/// </summary>
AudioChannel,
/// <summary>
/// 其他通道
/// </summary>
OtherChannel,
/// <summary>
/// id位数不等于20,设置为未知设备
/// </summary>
Unknow,
}
/// <summary>
/// 查询sip录像时的录像文件类型
/// </summary>
public enum SipRecordFileQueryType
{
time,
alarm,
manual,
all, //一般用这个就可以了
}
/// <summary>
/// 音视频设备类型
/// </summary>
public enum VideoDeviceType
{
IPC,
NVR,
DVR,
UNKNOW,
}