DescriptionSupport multiple timestamp rates for sending DTMF.
We support multiple payload types, and one which matches the audio codec the closest, is picked (or the one with lowest clock rate, if no perfect match is found).
The exact clock rate is then ignored and DTMF packets are time stamped with the rate of the current audio codec. This is exactly the way the code has worked up to this point, but until now we have been under the impression that we were in fact sending 8k DTMF.
In other words, this is an improvement over the current situation, since we will most likely find a payload type which matches the codec clock rate.
This CL also does a little cleaning of the DTMFQueue and RTPSenderAudio classes.
BUG=webrtc:2795
Committed: https://crrev.com/ffbbcac4c6111095a11536b96b600c6813444562
Cr-Commit-Position: refs/heads/master@{#15129}
Patch Set 1 #Patch Set 2 : misc #Patch Set 3 : misc #Patch Set 4 : rebase onto recv side dtmf changes #Patch Set 5 : rebase #Patch Set 6 : rebase #Patch Set 7 : don't special-handle rate for DTMF #Patch Set 8 : rebase #Patch Set 9 : rebase #Patch Set 10 : WVoMC unittests for multi rate DTMF send #
Total comments: 27
Patch Set 11 : rebase #Patch Set 12 : comments #Patch Set 13 : rebase #
Total comments: 6
Patch Set 14 : rebase + comments #Patch Set 15 : rebase #Patch Set 16 : fix event duration issues #Patch Set 17 : rebase #Patch Set 18 : fix test #Patch Set 19 : rebase #Depends on Patchset: Messages
Total messages: 22 (9 generated)
|