Commit 8f623658 by ziyue

Merge branch 'master' of https://gitee.com/xia-chu/ZLMediaKit into dev

parents f034dbf1 3b4e7619
...@@ -1139,7 +1139,7 @@ void RtspSession::updateRtcpContext(const RtpPacket::Ptr &rtp){ ...@@ -1139,7 +1139,7 @@ void RtspSession::updateRtcpContext(const RtpPacket::Ptr &rtp){
}; };
auto ssrc = rtp->getSSRC(); auto ssrc = rtp->getSSRC();
auto rtcp = _push_src ? rtcp_ctx->createRtcpRR(ssrc + 1, ssrc) : rtcp_ctx->createRtcpSR(ssrc + 1); auto rtcp = _push_src ? rtcp_ctx->createRtcpRR(ssrc + 1, ssrc) : rtcp_ctx->createRtcpSR(ssrc);
auto rtcp_sdes = RtcpSdes::create({SERVER_NAME}); auto rtcp_sdes = RtcpSdes::create({SERVER_NAME});
rtcp_sdes->items.type = (uint8_t)SdesType::RTCP_SDES_CNAME; rtcp_sdes->items.type = (uint8_t)SdesType::RTCP_SDES_CNAME;
rtcp_sdes->items.ssrc = htonl(ssrc); rtcp_sdes->items.ssrc = htonl(ssrc);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论