Home
last modified time | relevance | path

Searched refs:rtp_header_length (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/test/fuzzers/
Dproducer_fec_fuzzer.cc30 size_t rtp_header_length = data[i++] % 10 + 12; in FuzzOneInput() local
32 if (i + payload_size + rtp_header_length + 2 > size) in FuzzOneInput()
35 new uint8_t[payload_size + rtp_header_length]); in FuzzOneInput()
36 memcpy(packet.get(), &data[i], payload_size + rtp_header_length); in FuzzOneInput()
38 i += payload_size + rtp_header_length; in FuzzOneInput()
42 packet.get(), payload_size, rtp_header_length, kRedPayloadType)); in FuzzOneInput()
46 rtp_header_length); in FuzzOneInput()
52 producer.GetFecPackets(kRedPayloadType, 99, 100, rtp_header_length); in FuzzOneInput()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_video.cc100 const size_t rtp_header_length, in SendVideoPacket() argument
105 if (_rtpSender.SendToNetwork(data_buffer, payload_length, rtp_header_length, in SendVideoPacket()
108 _videoBitrate.Update(payload_length + rtp_header_length); in SendVideoPacket()
119 const size_t rtp_header_length, in SendVideoPacketAsRed() argument
133 data_buffer, payload_length, rtp_header_length, red_payload_type_)); in SendVideoPacketAsRed()
136 rtp_header_length); in SendVideoPacketAsRed()
144 rtp_header_length); in SendVideoPacketAsRed()
151 red_packet->data(), red_packet->length() - rtp_header_length, in SendVideoPacketAsRed()
152 rtp_header_length, capture_time_ms, media_packet_storage, in SendVideoPacketAsRed()
163 fec_packet->data(), fec_packet->length() - rtp_header_length, in SendVideoPacketAsRed()
[all …]
Dproducer_fec.cc125 size_t rtp_header_length, in BuildRedPacket() argument
128 payload_length + kREDForFECHeaderLength + rtp_header_length); in BuildRedPacket()
130 red_packet->CreateHeader(data_buffer, rtp_header_length, in BuildRedPacket()
132 red_packet->AssignPayload(data_buffer + rtp_header_length, payload_length); in BuildRedPacket()
138 size_t rtp_header_length) { in AddRtpPacketAndGenerateFec() argument
148 packet->length = payload_length + rtp_header_length; in AddRtpPacketAndGenerateFec()
217 size_t rtp_header_length) { in GetFecPackets() argument
230 packet_to_send->length + kREDForFECHeaderLength + rtp_header_length); in GetFecPackets()
231 red_packet->CreateHeader(last_media_packet->data, rtp_header_length, in GetFecPackets()
Dproducer_fec.h52 size_t rtp_header_length,
57 size_t rtp_header_length);
71 size_t rtp_header_length);
Drtp_sender.cc1027 size_t rtp_header_length, in SendToNetwork() argument
1032 payload_length + rtp_header_length); in SendToNetwork()
1042 UpdateTransmissionTimeOffset(buffer, payload_length + rtp_header_length, in SendToNetwork()
1046 UpdateAbsoluteSendTime(buffer, payload_length + rtp_header_length, in SendToNetwork()
1050 if (packet_history_.PutRTPPacket(buffer, rtp_header_length + payload_length, in SendToNetwork()
1075 size_t length = payload_length + rtp_header_length; in SendToNetwork()
1139 size_t rtp_header_length = kRtpHeaderLength; in RTPHeaderLength() local
1140 rtp_header_length += sizeof(uint32_t) * csrcs_.size(); in RTPHeaderLength()
1141 rtp_header_length += RtpHeaderExtensionTotalLength(); in RTPHeaderLength()
1142 return rtp_header_length; in RTPHeaderLength()
[all …]
Drtp_sender.h75 size_t rtp_header_length,
258 size_t rtp_header_length,