rtcp::VoipMetric block moved into own file and got Parse function
Review URL: https://codereview.webrtc.org/1452733002 Cr-Commit-Position: refs/heads/master@{#11030}
This commit is contained in:
@ -590,7 +590,9 @@ TEST_F(RtcpReceiverTest, InjectXrVoipPacket) {
|
||||
const uint8_t kLossRate = 123;
|
||||
rtcp::VoipMetric voip_metric;
|
||||
voip_metric.To(kSourceSsrc);
|
||||
voip_metric.LossRate(kLossRate);
|
||||
RTCPVoIPMetric metric;
|
||||
metric.lossRate = kLossRate;
|
||||
voip_metric.WithVoipMetric(metric);
|
||||
rtcp::Xr xr;
|
||||
xr.From(0x2345);
|
||||
xr.WithVoipMetric(&voip_metric);
|
||||
|
||||
Reference in New Issue
Block a user