Lines Matching refs:packet

78   RtpDumpPacket packet;  in TEST()  local
88 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
97 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
106 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet)); in TEST()
115 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet)); in TEST()
128 RtpDumpPacket packet; in TEST() local
131 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
133 EXPECT_TRUE(GetRtpSsrc(&packet.data[0], packet.data.size(), &ssrc)); in TEST()
137 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
145 EXPECT_EQ(rtc::SR_SUCCESS, reader_w_ssrc.ReadPacket(&packet)); in TEST()
146 EXPECT_FALSE(packet.is_rtcp()); in TEST()
147 EXPECT_EQ(packet.original_data_len, packet.data.size()); in TEST()
149 EXPECT_TRUE(GetRtpSsrc(&packet.data[0], packet.data.size(), &ssrc)); in TEST()
153 EXPECT_EQ(rtc::SR_EOS, reader_w_ssrc.ReadPacket(&packet)); in TEST()
166 RtpDumpPacket packet; in TEST() local
170 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
171 EXPECT_TRUE(packet.is_rtcp()); in TEST()
172 EXPECT_EQ(0U, packet.original_data_len); in TEST()
175 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
193 RtpDumpPacket packet; in TEST() local
196 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
197 EXPECT_FALSE(packet.is_rtcp()); in TEST()
199 packet.GetRtpHeaderLen(&len); in TEST()
200 EXPECT_EQ(len, packet.data.size()); in TEST()
201 EXPECT_GT(packet.original_data_len, packet.data.size()); in TEST()
204 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
221 RtpDumpPacket packet; in TEST() local
224 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
225 EXPECT_TRUE(packet.is_rtcp()); in TEST()
226 EXPECT_EQ(0U, packet.original_data_len); in TEST()
229 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
262 RtpDumpPacket packet; in TEST() local
265 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
266 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
271 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()
272 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()
273 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()
284 RtpDumpPacket packet; in TEST() local
287 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
288 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
293 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()
294 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()
295 EXPECT_EQ(rtc::SR_SUCCESS, loop_reader.ReadPacket(&packet)); in TEST()