OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:rtcp_packet
(Results
1 - 4
of
4
) sorted by null
/external/webrtc/webrtc/call/
rtc_event_log2rtp_dump.cc
164
event.
rtcp_packet
().has_type() &&
165
event.
rtcp_packet
().has_packet_data() &&
166
event.
rtcp_packet
().packet_data().size() > 0) {
167
const webrtc::rtclog::RtcpPacket&
rtcp_packet
= event.
rtcp_packet
();
local
168
if (FLAGS_noaudio &&
rtcp_packet
.type() == webrtc::rtclog::AUDIO)
170
if (FLAGS_novideo &&
rtcp_packet
.type() == webrtc::rtclog::VIDEO)
172
if (FLAGS_nodata &&
rtcp_packet
.type() == webrtc::rtclog::DATA)
178
rtcp_packet
.packet_data().data() + 4));
184
packet.length =
rtcp_packet
.packet_data().size()
[
all
...]
rtc_event_log_unittest.cc
25
#include "webrtc/modules/rtp_rtcp/source/
rtcp_packet
.h"
254
const rtclog::RtcpPacket&
rtcp_packet
= event.
rtcp_packet
();
local
255
ASSERT_TRUE(
rtcp_packet
.has_incoming());
256
EXPECT_EQ(incoming,
rtcp_packet
.incoming());
257
ASSERT_TRUE(
rtcp_packet
.has_type());
258
EXPECT_EQ(media_type, GetRuntimeMediaType(
rtcp_packet
.type()));
259
ASSERT_TRUE(
rtcp_packet
.has_packet_data());
260
ASSERT_EQ(total_size,
rtcp_packet
.packet_data().size());
262
EXPECT_EQ(packet[i], static_cast<uint8_t>(
rtcp_packet
.packet_data()[i]))
[
all
...]
/external/webrtc/talk/media/base/
testutils.cc
187
RawRtcpPacket
rtcp_packet
;
local
188
result &=
rtcp_packet
.ReadFromByteBuffer(&buf);
189
result &=
rtcp_packet
.EqualsTo(kTestRawRtcpPackets[index]);
/external/webrtc/talk/session/media/
srtpfilter_unittest.cc
97
char
rtcp_packet
[sizeof(kRtcpReport) + 4 + 10];
local
105
memcpy(
rtcp_packet
, kRtcpReport, rtcp_len);
123
EXPECT_TRUE(f1_.ProtectRtcp(
rtcp_packet
, rtcp_len,
124
sizeof(
rtcp_packet
), &out_len));
126
EXPECT_NE(0, memcmp(
rtcp_packet
, kRtcpReport, rtcp_len));
127
EXPECT_TRUE(f2_.UnprotectRtcp(
rtcp_packet
, out_len, &out_len));
129
EXPECT_EQ(0, memcmp(
rtcp_packet
, kRtcpReport, rtcp_len));
131
EXPECT_TRUE(f2_.ProtectRtcp(
rtcp_packet
, rtcp_len,
132
sizeof(
rtcp_packet
), &out_len));
134
EXPECT_NE(0, memcmp(
rtcp_packet
, kRtcpReport, rtcp_len))
[
all
...]
Completed in 3051 milliseconds