c++
奔跑的艾斯
艾斯日的月的光~
展开
-
freeswitch录音功能开启无法通话
freeswitch录音问题:之前开启过代理模式:在dialPlan/default.xml中添加:<action application="set" data="proxy_media=true"/>在/sip_profiles/internal.xml添加: <param name="inbound-proxy-media" value="true"/>...原创 2019-11-14 23:00:06 · 959 阅读 · 0 评论 -
linphone arm交叉编译过程记录
Linphone交叉编译过程:在centos7上交叉编译海思版本linphone (origin/release/4.2)使用过程:经常需要执行命令:find . -name “*.sh”|sudo xargs chmod +x配置命令:./configure --host=arm-linux --prefix=/home/app_comm/arm-compile/armlib/ CC=...原创 2019-11-02 17:37:24 · 2225 阅读 · 2 评论 -
c++迭代器失效
下面材料整理自Internet&著作。 STL中的容器按存储方式分为两类,一类是按以数组形式存储的容器(如:vector 、deque);另一类是以不连续的节点形式存储的容器(如:list、set、map)。在使用erase方法来删除元素时,需要注意一些问题。1.list,set,map容器 ...转载 2018-10-23 10:21:07 · 703 阅读 · 0 评论 -
c++ typeid使用
今天用了下c++ typeid这个操作符记录一下:class parent{void getdata(){}// virtual void deal()// {}};class son:public parent{};int main(){parent *pa =new son(); //pointerson data;parent& ref =da...原创 2019-04-22 19:01:56 · 892 阅读 · 0 评论 -
gsoap -onvif编译过程
最近工作需要用到onvif协议,整理一下编译过程遇到的问题:编译工具是: gsoap, 版本gsoap-2.8.50; 可在官网下载;WSDL文件: 下载地址:https://www.onvif.org/profiles/specifications/编译命令:第一步生成 onvif.h 文件:wsdl2h -o onvif.h -t ./typemap.dat remotediscov...原创 2019-06-22 11:09:57 · 1731 阅读 · 1 评论