NetMQ 协议,支持摄像头增、删、改
This commit is contained in:
@@ -53,7 +53,7 @@ namespace SHH.CameraService
|
||||
/// </summary>
|
||||
public static VideoPayload ToVideoPayload(this NetMQMessage msg)
|
||||
{
|
||||
if (msg == null || msg.FrameCount < 4) return null;
|
||||
if (msg == null || msg.FrameCount < 2) return null;
|
||||
|
||||
// Frame 0 Check
|
||||
if (msg[0].ConvertToString() != PROTOCOL_HEADER) return null;
|
||||
|
||||
Reference in New Issue
Block a user