Fix bug where fraction_lost is always set to 0 when getting received RTCP statistics.
R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5039004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5221 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a6ad6e5b58
commit
b88fc18aba
@ -1293,7 +1293,6 @@ int32_t ViEChannel::GetReceivedRtcpStatistics(uint16_t* fraction_lost,
|
||||
"%s", __FUNCTION__);
|
||||
|
||||
uint32_t remote_ssrc = vie_receiver_.GetRemoteSsrc();
|
||||
uint8_t frac_lost = 0;
|
||||
StreamStatistician* statistician =
|
||||
vie_receiver_.GetReceiveStatistics()->GetStatistician(remote_ssrc);
|
||||
StreamStatistician::Statistics receive_stats;
|
||||
@ -1307,7 +1306,6 @@ int32_t ViEChannel::GetReceivedRtcpStatistics(uint16_t* fraction_lost,
|
||||
*cumulative_lost = receive_stats.cumulative_lost;
|
||||
*extended_max = receive_stats.extended_max_sequence_number;
|
||||
*jitter_samples = receive_stats.jitter;
|
||||
*fraction_lost = frac_lost;
|
||||
|
||||
uint16_t dummy = 0;
|
||||
uint16_t rtt = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user