mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-29 14:22:23 +08:00
修复忽略g711a(pt=0)的bug
This commit is contained in:
@@ -593,7 +593,7 @@ void WebRtcTransportImp::onBeforeSortedRtp(const RtpPayloadInfo &info, const Rtp
|
||||
|
||||
void WebRtcTransportImp::onSendRtp(const RtpPacket::Ptr &rtp, bool flush){
|
||||
auto &pt = _send_rtp_pt[rtp->type];
|
||||
if (!pt) {
|
||||
if (pt == 0xFF) {
|
||||
//忽略,对方不支持该编码类型
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user