当前位置:网站首页>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';边栏推荐
猜你喜欢

Flutter环境配置保姆级教程,让doctor一绿到底

Edge computing accelerates live video scenes: clearer, smoother, and more real-time

Blender多鏡頭(多機比特)切換

Unreal material editor foundation - how to connect a basic material

【虚幻4】从U3D到UE4的转型之路

KS009基于SSH实现宠物管理系统

Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer

01安装虚拟机

判断数组中是否存在重复元素

Flink calculates topn hot list in real time
随机推荐
【Lua】常见知识点汇总(包含常见面试考点)
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
What are the popular frameworks for swoole in 2022?
Leetcode -- the nearest common ancestor of 236 binary tree
Blender体积雾
KS009基于SSH实现宠物管理系统
Test -- Summary of interview questions
Determine whether there are duplicate elements in the array
Vscode set JSON file to format automatically after saving
[Lua] summary of common knowledge points (including common interview sites)
Blender海洋制作
[unity3d] nested use layout group to make scroll view with dynamic sub object height
2.14 is it Valentine's day or Valentine's day when the mainstream market continues to fluctuate and wait for changes?
虛幻AI藍圖基礎筆記(萬字整理)
MySQL -- time zone / connector / driver type
2021-10-04
Pytest-- test report allure configuration
02-taildir source
AttributeError: type object ‘Image‘ has no attribute ‘fromarray‘
14.信号量的代码实现