Commit 3b8969d9 authored by Pali Rohár's avatar Pali Rohár

libjingle: Revert "Fix handling non rtcp packets in libjingle"

This reverts commit d1b2df91.

Now after ssrc rtp parameters are properly used, that commit should be reverted.
parent dfc424a2
diff --git a/protocols/jabber/googletalk/libjingle/talk/session/phone/channel.cc b/protocols/jabber/googletalk/libjingle/talk/session/phone/channel.cc
index 3d8ff89..cbd1e85 100644
--- a/protocols/jabber/googletalk/libjingle/talk/session/phone/channel.cc
+++ b/protocols/jabber/googletalk/libjingle/talk/session/phone/channel.cc
@@ -514,7 +514,7 @@ void BaseChannel::HandlePacket(bool rtcp, talk_base::Buffer* packet) {
// If this channel is suppose to handle RTP data, that is determined by
// checking against ssrc filter. This is necessary to do it here to avoid
// double decryption.
- if (ssrc_filter_.IsActive() &&
+ if (rtcp && ssrc_filter_.IsActive() &&
!ssrc_filter_.DemuxPacket(packet->data(), packet->length(), rtcp)) {
return;
}
......@@ -514,7 +514,7 @@ void BaseChannel::HandlePacket(bool rtcp, talk_base::Buffer* packet) {
// If this channel is suppose to handle RTP data, that is determined by
// checking against ssrc filter. This is necessary to do it here to avoid
// double decryption.
if (rtcp && ssrc_filter_.IsActive() &&
if (ssrc_filter_.IsActive() &&
!ssrc_filter_.DemuxPacket(packet->data(), packet->length(), rtcp)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment