安装 django pip install django 创建虚拟环境 python -m venv testenvironment 进入虚拟环境: testenvironment\Scripts\activate.bat 虚拟环境安装 django pip install django 创建项目: ...
分类:
Web程序 时间:
2017-08-19 15:04:09
阅读次数:
181
1.实体 2.RoleService定义 3.RoleDao定义 4.XML定义 ...
分类:
其他好文 时间:
2017-08-18 23:43:10
阅读次数:
311
1:如果数据是rtp/rtsp传输的话,ffmpeg会每隔30s(哪里设置该值?)发送一个keepalive包,如果ipc支持GET_PARAMETER命令,就发该命令等ipc回复以确认ipc还活着。某些ipc(IPCamera)不支持GET_PARAMETER的rtsp命令。则会通过OPTIONS ...
分类:
其他好文 时间:
2017-08-18 19:56:03
阅读次数:
3717
boost_array_bind_fun_ref Array.cpp #include<boost/array.hpp> #include <iostream> #include <string> using namespace std; using namespace boost; void ma ...
分类:
编程语言 时间:
2017-08-18 18:46:44
阅读次数:
123
1.x264 ./configure --host=arm-hisiv300-linux CC=arm-hisiv300-linux-gcc --enable-pic --prefix=/usr/local/ffmpeg --cross-prefix=arm-hisiv300-linux- --en ...
分类:
其他好文 时间:
2017-08-17 21:19:58
阅读次数:
301
在编写串口通信时设置一下参数,导致接收的字节与单片机发送的字节对不上, serialPort.setSerialPortParams(115200, SerialPort.DATABITS_8,SerialPort.STOPBITS_1, SerialPort.PARITY_SPACE ); 经过测 ...
分类:
其他好文 时间:
2017-08-16 11:37:53
阅读次数:
113
QXDM,QPST和QCAT是Qualcomm高通公司针对高通芯片的抓包分析工具。 QXDM抓包分析,QPST与手机com口连接,QCAT用来分析抓包产生的isf文件(log)。 使用版本: QXDM-3.14.594 QPST-2.7.411 QCAT.06.30.30.00 首先,手机连接电脑u ...
分类:
其他好文 时间:
2017-08-16 11:34:12
阅读次数:
2846
UAC是作为SIP消息的发起端,可以控制消息速率什么的,方便极了。 一、uac.xml 二、uac.sh 1. TCP方式启动 2. UDP方式启动 三、一点说明 -r 50 是每秒发送50条SIP消息。 ...
分类:
其他好文 时间:
2017-08-15 13:26:02
阅读次数:
182
看名字就能猜出来,这是作为SIP消息服务端的存在,启动uas,等着接受SIP消息并且给出响应。 一、uas.xml 二、uas.sh 1. 以TCP方式启动服务 2. 以UDP方式启动服务 三、一个小说明 -m 500的意思是,接受500条起始SIP消息后,自动终止运行,给出统计报告。 ...
分类:
其他好文 时间:
2017-08-15 12:39:21
阅读次数:
174
更新于2017年8月,本人亲测,国内可用,而且速度非常快! webRTC不可缺少的环节。 stun:stun1.l.google.com:19302stun:stun2.l.google.com:19302stun:stun3.l.google.com:19302stun:stun4.l.googl ...
分类:
Web程序 时间:
2017-08-10 22:37:51
阅读次数:
935