#include#include#include#include#include#include#ifdef_WIN32_WCE#pragmacomment(lib,"ws2.lib")#else#pragmacomment(lib,"ws2_32.lib")#endif#definePP_NAME"User-Agent:rtspclient(v1.0)"#definePP_CRLF"/r/n"//测a试?之?用?longInitSocket();longDeInitSocket();longInitTCPSocket(intport);longInitUDPSocket(constchar*ip,intport);longGetSokcetPort(intsock,int*port);-IMDN开发者社群-imdn.cn"> #include#include#include#include#include#include#ifdef_WIN32_WCE#pragmacomment(lib,"ws2.lib")#else#pragmacomment(lib,"ws2_32.lib")#endif#definePP_NAME"User-Agent:rtspclient(v1.0)"#definePP_CRLF"/r/n"//测a试?之?用?longInitSocket();longDeInitSocket();longInitTCPSocket(intport);longInitUDPSocket(constchar*ip,intport);longGetSokcetPort(intsock,int*port); - IMDN开发者社群-imdn.cn">
登录
首页 » c » 通过RTSP获取到网络摄像机的视频流

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

于 2022-05-31 发布 文件大小:4.03 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

很完整的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);

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • GGMeeting_a5
    说明:  语音视频数据都是实时采集、实时播放的数据,所以测试时,服务器的带宽要求最好是独享带宽,共享带宽一般无法满足实时语音视频的要求。 实时语音视频而言,100M的共享带宽,还不如5M的独享。(Voice and video data are real-time data acquisition and playback, so when testing, the best bandwidth requirement of the server is exclusive bandwidth. Shared bandwidth generally can not meet the requirements of real-time voice and video. For real-time voice and video, the shared bandwidth of 100M is not as good as that of 5M.)
    2020-06-20 09:00:01下载
    积分:1
  • ODBCopt
    说明:  根据ODBC3.x driver 编写的操作数据库的库(operate the database )
    2009-08-30 14:55:47下载
    积分:1
  • matlab6
    matlab 包括遗传算法等,包括交叉,变异等,包括计算的结果等。 (Matlab bao kuo yi chuan suan fa deng bao kuo jiao cha bianyi deng bao kuo ji suan de jie guo deng)
    2011-05-26 19:09:13下载
    积分:1
  • sams-linux_programming_unleashed_second_edition
    gnu/linux编程指南(第二版)(入门应用精通)的英文原版(gnu/linux Programming Guide (2nd Edition) (portal application proficient) in the English original)
    2007-04-24 13:15:40下载
    积分:1
  • c-2005-gbk
    支付宝接口,c-2005-utf-8.rar(no)
    2009-12-23 23:28:06下载
    积分:1
  • 11
    说明:  《Visual c++ 项目开发案例 全程实录》(第二版)第11章 图像处理系统 配套源代码(&quot Visual c++ project development case full Record&quot (second edition) Chapter 11 of the image processing system supporting source code)
    2012-05-22 16:53:33下载
    积分:1
  • zhinengchuangan
    智能传感器接口模块的设计与实现 智能传感器接口模块的设计与实现(Smart Transducer Interface Module Design and Implementation)
    2011-12-18 19:08:39下载
    积分:1
  • 2_24to2_28
    双向链表 清华大学 出版社 《数据结构 C++》 源代码实现(Tsinghua University Press doubly linked list <data structure, C++> source code)
    2011-02-05 22:08:53下载
    积分:1
  • EXERCISE_3_2
    比较JPLDE405的切比雪夫系数导出的位置与低精度月球坐标分析。(Comparative Analysis of JPL DE405 cut Chebyshev coefficients derived position with low accuracy lunar coordinates.)
    2020-11-11 13:29:46下载
    积分:1
  • 1_LED100
    tinyOS系统应用nesC语言开发实例(a example of tinyOS application with nesC Language)
    2016-02-14 05:13:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载