10 2019 档案

摘要:protobuffer (简称PB) 网上的文章一大堆,随便看看,PB使用起来非常方便。这里主要讲讲Protobuf C(简称PC)的使用 1,代码 https://github.com/protobuf-c/protobufc/releases/download/v1.3.2/protobuf-c 阅读全文
posted @ 2019-10-24 15:39 Ray.floyd 阅读(5082) 评论(0) 推荐(0)
摘要:如何从OnDemandServerMediaSubsession类以及继承类对象中获取RTCP信息(句柄) OnDemandServerMediaSubsession.cpp void StreamState::startPlaying函数中添加: OnDemandServerMediaSubses 阅读全文
posted @ 2019-10-22 16:34 Ray.floyd 阅读(769) 评论(0) 推荐(0)
摘要:/etc/vim/vimrc文件 set ts=4 set sts=4 set cindent set expandtab set smartindent set autoindent set shiftwidth=4 set nu set hls##文件编码识别set fileencodings= 阅读全文
posted @ 2019-10-18 10:37 Ray.floyd 阅读(181) 评论(0) 推荐(0)
摘要:1,双向认证测试(需要根证书,客户证书,服务器证书以及各自的私钥)(验证通信双方的身份) 2,单项认证测试(验证客户身份) 3,如何生成上面的证书呢(自签名证书为例) CA证书 服务器证书 客户端证书 使用根证书验证下服务器证书是否可信的 注意证书里CN=Server,身份认证过程中应用程序可能会校 阅读全文
posted @ 2019-10-17 15:29 Ray.floyd 阅读(2869) 评论(0) 推荐(0)
摘要:1,代码比较简单,可以直接用了。流的第一个NALU一定是SPS 阅读全文
posted @ 2019-10-17 15:16 Ray.floyd 阅读(918) 评论(0) 推荐(0)
摘要:1,依赖库openssl 的交叉编译 (1)配置编译器信息 (2)修改Makefile (3)编译(指定编译器) 2,mosquitto 的交叉编译 (1)修改该config.mk (2)编译 3,基于mosquitto的MQTT client 代码中struct mqtt_conf是自定义结构,m 阅读全文
posted @ 2019-10-17 15:06 Ray.floyd 阅读(1757) 评论(4) 推荐(1)