Always allow packet-type-based packet demuxing
Some checks failed
WebRTC CI / Code Formatting (map[check:ringrtc exclude:(oboe|opus)]) (push) Has been cancelled
WebRTC CI / Code Formatting (map[check:sdk exclude:(objc|jni_helpers\.h)]) (push) Has been cancelled

This commit is contained in:
Miriam Zimmerman 2026-05-12 11:26:04 -04:00 committed by GitHub
parent 376f0ae698
commit 5b1bfe0c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -412,13 +412,12 @@ RtpPacketSinkInterface* RtpDemuxer::ResolveSink(
return ssrc_sink_it->second;
}
if (use_payload_type_demuxing_) {
// Legacy senders will only signal payload type.
// Support that as a last resort.
return ResolveSinkByPayloadType(packet.PayloadType(), ssrc);
}
return nullptr;
// RingRTC change: We are a "legacy sender" by this definition: Data RTP
// is sent without registering an ssrc with webrtc
// Legacy senders will only signal payload type.
// Support that as a last resort.
return ResolveSinkByPayloadType(packet.PayloadType(), ssrc);
// End RingRTC change
}
RtpPacketSinkInterface* RtpDemuxer::ResolveSinkByMid(absl::string_view mid,