上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: https://blog.csdn.net/wohu1104/article/details/125052150 阅读全文
posted @ 2022-08-03 13:33 泽良_小涛 阅读(139) 评论(0) 推荐(0)
摘要: class RtcpHeader { public: #if __BYTE_ORDER == __BIG_ENDIAN //版本号,固定为2 uint32_t version: 2; //padding,固定为0 uint32_t padding: 1; //reception report cou 阅读全文
posted @ 2022-07-27 17:20 泽良_小涛 阅读(199) 评论(0) 推荐(0)
摘要: 与Sender Report相比,少了sender info。 阅读全文
posted @ 2022-07-27 15:26 泽良_小涛 阅读(75) 评论(0) 推荐(0)
摘要: class RtcpHeader { public: #if __BYTE_ORDER == __BIG_ENDIAN //版本号,固定为2 uint32_t version: 2; //padding,固定为0 uint32_t padding: 1; //reception report cou 阅读全文
posted @ 2022-07-27 15:07 泽良_小涛 阅读(363) 评论(0) 推荐(0)
摘要: 推流数据开始前用record命令。回复的代码如下 void RtspSession::handleReq_RECORD(const Parser &parser){ if (_sdp_track.empty() || parser["Session"] != _sessionid) { send_S 阅读全文
posted @ 2022-07-22 17:30 泽良_小涛 阅读(196) 评论(0) 推荐(0)
摘要: setup要接收两次,指明流媒体的传输方式 。 代码如下 void RtspSession::handleReq_Setup(const Parser &parser) { //处理setup命令,该函数可能进入多次 int trackIdx = getTrackIndexByControlUrl( 阅读全文
posted @ 2022-07-22 15:29 泽良_小涛 阅读(182) 评论(0) 推荐(0)
摘要: 基类转换为子类,dynamic_cast普通的类,dynamic_pointer_cast为智能指针时。 https://blog.csdn.net/jiayizhenzhenyijia/article/details/98209529 阅读全文
posted @ 2022-07-21 14:33 泽良_小涛 阅读(126) 评论(0) 推荐(0)
摘要: ZLMedia 、sdp 阅读全文
posted @ 2022-07-20 18:07 泽良_小涛 阅读(148) 评论(0) 推荐(0)
摘要: 分隔字符非常有用的https://blog.csdn.net/red_red_red/article/details/84260967 阅读全文
posted @ 2022-07-19 16:36 泽良_小涛 阅读(30) 评论(0) 推荐(0)
摘要: 将一个字符串string 通过分隔符存入到一个vector中。 vector<string> split(const string &s, const char *delim) { vector<string> ret; size_t last = 0; auto index = s.find(de 阅读全文
posted @ 2022-07-19 15:12 泽良_小涛 阅读(30) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页