in RtpPacketizers separate case 'frame fits into single packet'.
Assumption extra needed bytes for single packet needs is sum of extra bytes for first and last packet moved up to RTPSenderVideo from individual packetizers. There it can be fixed. Bug: webrtc:9868 Change-Id: I24c80ffa5c174afd3fe3e92fa86ef75560bb961e Reviewed-on: https://webrtc-review.googlesource.com/c/105662 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25160}
This commit is contained in:
committed by
Commit Bot
parent
1a35fbd9c3
commit
fcebe0e1ca
@ -30,6 +30,8 @@ class RtpPacketizer {
|
||||
int max_payload_len = 1200;
|
||||
int first_packet_reduction_len = 0;
|
||||
int last_packet_reduction_len = 0;
|
||||
// Reduction len for packet that is first & last at the same time.
|
||||
int single_packet_reduction_len = 0;
|
||||
};
|
||||
static std::unique_ptr<RtpPacketizer> Create(
|
||||
VideoCodecType type,
|
||||
|
||||
Reference in New Issue
Block a user