mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
修正SDES rtcp对象命名
This commit is contained in:
@@ -67,7 +67,7 @@ std::shared_ptr<Buffer> makeRtcpRR() {
|
||||
std::shared_ptr<Buffer> makeRtcpSDES() {
|
||||
auto rtcp = RtcpSdes::create({"zlmediakit", "", "https://github.com/xia-chu/ZLMediaKit", "1213642868@qq.com", "123456789012345678"});
|
||||
auto i = 5;
|
||||
auto items = rtcp->getItemList();
|
||||
auto items = rtcp->getChunkList();
|
||||
items[0]->type = (uint8_t)SdesType::RTCP_SDES_CNAME;
|
||||
items[0]->ssrc = htonl(i++);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user