Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dbye.cc54 uint8_t reason_length = 0; in Parse() local
56 reason_length = payload[4u * src_count]; in Parse()
57 if (packet.payload_size_bytes() - 4u * src_count < 1u + reason_length) { in Parse()
58 RTC_LOG(LS_WARNING) << "Invalid reason length: " << reason_length; in Parse()
75 reason_length); in Parse()
103 uint8_t reason_length = static_cast<uint8_t>(reason_.size()); in Create() local
104 packet[(*index)++] = reason_length; in Create()
105 memcpy(&packet[*index], reason_.data(), reason_length); in Create()
106 *index += reason_length; in Create()