当前位置:网站首页>axis设备的rtsp setup头中的url不能带参
axis设备的rtsp setup头中的url不能带参
2022-07-02 06:50:00 【微澜-】
背景
以前做了很多年的视频监控客户端,有段时间是接入大华,海康,axis,一传等sdk,在我们自己的监控系统中使用。
axis摄像头是最贵的摄像头,也是最早接入的设备。它能够使用http,rtsp和自定义协议axrt进行通信,而且它在很早的时候就支持IPV6,这是它的优点。
使用的时候有个小问题记录了下来。
使用axis服务器发现setup头中,必须把url?之后的参数取消掉才可以通过。也就是说,该消息头不能带参,这可能是那款设备的特例。
对比
能够成功的消息是
不能够成功的消息是

处理方法
StrPtrLen fReqURI;
StringParser theParser(&fURL);
theParser.ConsumeUntil(&fReqURI, '?');
fReqURI.Ptr = fReqURI.GetAsCString();
char endChar = fReqURI.Ptr[fReqURI.Len];
fReqURI.Ptr[fReqURI.Len] = '\0';
边栏推荐
- Pywin32打开指定窗口
- The nanny level tutorial of flutter environment configuration makes the doctor green to the end
- 【leetcode】33. Search rotation sort array
- Blender摄像机环绕运动、动画渲染、视频合成
- AutoCAD - layer Linetype
- 12.进程同步与信号量
- Message mechanism -- getting to know messages and message queues for the first time
- 互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
- Solution of mysql8 forgetting password file in Windows Environment
- 【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
猜你喜欢
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
Redis set password
SPSS做Shapiro-Wilk正态分析
01 install virtual machine
Mongodb quickly get started with some simple operations of mongodb command line
Webui automated learning
[Fantasy 4] the transformation from U3D to UE4
VLAN experiment
JS reduce accumulator
Leetcode -- the nearest common ancestor of 236 binary tree
随机推荐
2021-09-12
Allure -- common configuration items
判断数组中是否存在重复元素
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
MPLS experiment
MYSQL环境配置
传输优化抽象
Blender model import UE, collision settings
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
Importing tables from sqoop
SQOOP 1.4.6 INSTALL
Flutter环境配置保姆级教程,让doctor一绿到底
Flink submitter
The nanny level tutorial of flutter environment configuration makes the doctor green to the end
02-taildir source
AutoCAD - layer Linetype
【避坑指南】Unity3D项目接入腾讯Bugly工具时遇到的坑
07 data import sqoop
Pytest learning --base
VLAN experiment