首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 通过RTSP获取到网络摄像机的视频流

通过RTSP获取到网络摄像机的视频流

资 源 简 介

很完整的RTSP获取码流的代码, #ifdef _WIN32_WCE #include "stdafx.h" #endif #ifndef _WIN32_WCE #define WIN32_LEAN_AND_MEAN #endif #include #include #include #include #include #include #include #ifdef _WIN32_WCE #pragma comment(lib, "ws2.lib") #else #pragma comment(lib, "ws2_32.lib") #endif #define PP_NAME "User-Agent:rtsp client(v1.0)" #define PP_CRLF "/r/n" //测a试?之?用? long InitSocket(); long DeInitSocket(); long InitTCPSocket(int port); long InitUDPSocket(const char *ip, int port); long GetSokcetPort(int sock, int *port);

文 件 列 表

rtsp.c
VIP VIP
0.169639s