Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl2.cc407 void ModuleRtpRtcpImpl2::SetMaxRtpPacketSize(size_t rtp_packet_size) { in SetMaxRtpPacketSize() argument
408 RTC_DCHECK_LE(rtp_packet_size, IP_PACKET_SIZE) in SetMaxRtpPacketSize()
409 << "rtp packet size too large: " << rtp_packet_size; in SetMaxRtpPacketSize()
410 RTC_DCHECK_GT(rtp_packet_size, packet_overhead_) in SetMaxRtpPacketSize()
411 << "rtp packet size too small: " << rtp_packet_size; in SetMaxRtpPacketSize()
413 rtcp_sender_.SetMaxRtpPacketSize(rtp_packet_size); in SetMaxRtpPacketSize()
415 rtp_sender_->packet_generator.SetMaxRtpPacketSize(rtp_packet_size); in SetMaxRtpPacketSize()
Drtp_rtcp_impl.cc445 void ModuleRtpRtcpImpl::SetMaxRtpPacketSize(size_t rtp_packet_size) { in SetMaxRtpPacketSize() argument
446 RTC_DCHECK_LE(rtp_packet_size, IP_PACKET_SIZE) in SetMaxRtpPacketSize()
447 << "rtp packet size too large: " << rtp_packet_size; in SetMaxRtpPacketSize()
448 RTC_DCHECK_GT(rtp_packet_size, packet_overhead_) in SetMaxRtpPacketSize()
449 << "rtp packet size too small: " << rtp_packet_size; in SetMaxRtpPacketSize()
451 rtcp_sender_.SetMaxRtpPacketSize(rtp_packet_size); in SetMaxRtpPacketSize()
453 rtp_sender_->packet_generator.SetMaxRtpPacketSize(rtp_packet_size); in SetMaxRtpPacketSize()