Home
last modified time | relevance | path

Searched refs:rtp_len (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/pc/
Dsrtp_transport_unittest.cc118 size_t rtp_len = sizeof(kPcmuFrame); in TestSendRecvRtpPacket() local
119 size_t packet_size = rtp_len + rtc::rtp_auth_tag_len(cipher_suite_name); in TestSendRecvRtpPacket()
122 memcpy(rtp_packet_data, kPcmuFrame, rtp_len); in TestSendRecvRtpPacket()
127 rtc::CopyOnWriteBuffer rtp_packet1to2(rtp_packet_data, rtp_len, in TestSendRecvRtpPacket()
129 rtc::CopyOnWriteBuffer rtp_packet2to1(rtp_packet_data, rtp_len, in TestSendRecvRtpPacket()
133 memcpy(original_rtp_data, rtp_packet_data, rtp_len); in TestSendRecvRtpPacket()
145 original_rtp_data, rtp_len)); in TestSendRecvRtpPacket()
151 original_rtp_data, rtp_len)); in TestSendRecvRtpPacket()
162 original_rtp_data, rtp_len)); in TestSendRecvRtpPacket()
166 original_rtp_data, rtp_len)); in TestSendRecvRtpPacket()
[all …]
Ddtls_srtp_transport_unittest.cc115 size_t rtp_len = sizeof(kPcmuFrame); in SendRecvRtpPackets() local
116 size_t packet_size = rtp_len + kRtpAuthTagLen; in SendRecvRtpPackets()
119 memcpy(rtp_packet_data, kPcmuFrame, rtp_len); in SendRecvRtpPackets()
124 rtc::CopyOnWriteBuffer rtp_packet1to2(rtp_packet_data, rtp_len, in SendRecvRtpPackets()
126 rtc::CopyOnWriteBuffer rtp_packet2to1(rtp_packet_data, rtp_len, in SendRecvRtpPackets()
137 kPcmuFrame, rtp_len)); in SendRecvRtpPackets()
145 kPcmuFrame, rtp_len)); in SendRecvRtpPackets()
187 size_t rtp_len = sizeof(kPcmuFrameWithExtensions); in SendRecvRtpPacketsWithHeaderExtension() local
188 size_t packet_size = rtp_len + kRtpAuthTagLen; in SendRecvRtpPacketsWithHeaderExtension()
191 memcpy(rtp_packet_data, kPcmuFrameWithExtensions, rtp_len); in SendRecvRtpPacketsWithHeaderExtension()
[all …]
Djsep_transport_unittest.cc1113 size_t rtp_len = sizeof(kPcmuFrameWithExtensions); in TestOneWaySendRecvPacketWithEncryptedHeaderExtension() local
1114 size_t packet_size = rtp_len + GetRtpAuthLen(); in TestOneWaySendRecvPacketWithEncryptedHeaderExtension()
1117 memcpy(rtp_packet_data, kPcmuFrameWithExtensions, rtp_len); in TestOneWaySendRecvPacketWithEncryptedHeaderExtension()
1122 rtc::CopyOnWriteBuffer rtp_packet(rtp_packet_data, rtp_len, packet_size); in TestOneWaySendRecvPacketWithEncryptedHeaderExtension()