DescriptionDeprecated SetAudioPacketSize from RTPSender and removed calls to it.
The packet size was only used to control how often to output DTMF
packets. However, it likely did not work as intended, since that
interval was only set during initialization. No changes to the packet
size, like what AudioEncoder::Num10MsFramesInNextPacket could
indicate, were picked up. The value was instead taken from an entry in
ACMCodecDB.
Since it was not-fully-functional, its exact value didn't seem to
matter and it was getting in the way of making it possible to supply
an external audio encoder factory, I've decided to remove it
altogether. The DTMF code now uses an interval of 50 ms regardless,
which is a value recommended by the RFC.
BUG=webrtc:5806
Committed: https://crrev.com/00bceb1eda186848a7883b43d024d42a67d724b5
Cr-Commit-Position: refs/heads/master@{#15380}
Patch Set 1 #
Total comments: 4
Patch Set 2 : constexpr; parentheses #
Messages
Total messages: 19 (12 generated)
|