| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    4  *  Use of this source code is governed by a BSD-style license | 
|    5  *  that can be found in the LICENSE file in the root of the source |    5  *  that can be found in the LICENSE file in the root of the source | 
|    6  *  tree. An additional intellectual property rights grant can be found |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS.  All contributing project authors may |    7  *  in the file PATENTS.  All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
|   11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.h" |   11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.h" | 
|   12  |   12  | 
|   13 #include <assert.h> |   13 #include <assert.h> | 
|   14 #include <math.h> |   14 #include <math.h> | 
|   15 #include <stdlib.h> |   15 #include <stdlib.h> | 
|   16 #include <string.h> |   16 #include <string.h> | 
|   17  |   17  | 
|   18 #include "webrtc/base/logging.h" |   18 #include "webrtc/base/logging.h" | 
|   19 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" |   19 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" | 
|   20 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" |   20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 
|   21 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" |   21 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" | 
|   22  |   22  | 
|   23 namespace webrtc { |   23 namespace webrtc { | 
|   24  |   24  | 
|   25 using RtpUtility::GetCurrentRTP; |   25 using RtpUtility::GetCurrentRTP; | 
|   26 using RtpUtility::Payload; |   26 using RtpUtility::Payload; | 
|   27 using RtpUtility::StringCompare; |   27 using RtpUtility::StringCompare; | 
|   28  |   28  | 
|   29 RtpReceiver* RtpReceiver::CreateVideoReceiver( |   29 RtpReceiver* RtpReceiver::CreateVideoReceiver( | 
|   30     Clock* clock, |   30     Clock* clock, | 
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  481     // implementations might have CSRC 0 as a valid value. |  481     // implementations might have CSRC 0 as a valid value. | 
|  482     if (num_csrcs_diff > 0) { |  482     if (num_csrcs_diff > 0) { | 
|  483       cb_rtp_feedback_->OnIncomingCSRCChanged(0, true); |  483       cb_rtp_feedback_->OnIncomingCSRCChanged(0, true); | 
|  484     } else if (num_csrcs_diff < 0) { |  484     } else if (num_csrcs_diff < 0) { | 
|  485       cb_rtp_feedback_->OnIncomingCSRCChanged(0, false); |  485       cb_rtp_feedback_->OnIncomingCSRCChanged(0, false); | 
|  486     } |  486     } | 
|  487   } |  487   } | 
|  488 } |  488 } | 
|  489  |  489  | 
|  490 }  // namespace webrtc |  490 }  // namespace webrtc | 
| OLD | NEW |