mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 00:47:34 +08:00
初步添加twcc rtcp发送逻辑
This commit is contained in:
@@ -808,7 +808,10 @@ void WebRtcTransportImp::onRtp(const char *buf, size_t len) {
|
||||
|
||||
//修改ext id至统一
|
||||
string rid;
|
||||
track->rtp_ext_ctx->changeRtpExtId(rtp, true, &rid);
|
||||
auto twcc_ext = track->rtp_ext_ctx->changeRtpExtId(rtp, true, &rid, RtpExtType::transport_cc);
|
||||
if (twcc_ext && !is_rtx) {
|
||||
_twcc_ctx.onRtp(twcc_ext.getTransportCCSeq());
|
||||
}
|
||||
|
||||
auto &ref = track->rtp_channel[rid];
|
||||
if (!ref) {
|
||||
|
||||
Reference in New Issue
Block a user