00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __MXCPC_CAMERALIVEMXPEGFASTSTREAMPOSIX_H__
00015 #define __MXCPC_CAMERALIVEMXPEGFASTSTREAMPOSIX_H__
00016
00017
00018
00019 #include <mxcpcCameraLiveMxPEGFastStream.h>
00020
00021
00022
00024 class mxcpcCameraLiveMxPEGFastStreamPOSIX
00025 : public mxcpcCameraLiveMxPEGFastStream {
00026
00027 private:
00028 int Socket;
00029
00030 public:
00031 mxcpcCameraLiveMxPEGFastStreamPOSIX(int ip1, int ip2, int ip3, int ip4,
00032 int port,
00033 int fps = 4);
00034 ~mxcpcCameraLiveMxPEGFastStreamPOSIX();
00035
00036 public:
00038 int fetchBytes(unsigned char *buffer, int num);
00039 };
00040
00041
00042
00043 #endif // __MXCPC_CAMERALIVEMXPEGFASTSTREAMPOSIX_H__