summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-05-17 22:31:27 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-05-17 22:31:27 +0200
commitf364bd21b79f214966ef0d0eb62a998cdc5a575f (patch)
treec4b63f494f4f2fda5d64fd42882750f6451d95d1 /include
parentb2d645892600b8103293587662fb81baae3d8220 (diff)
audio: fix timestamp calculation for sending
according to RFC 3551 the RTP timestamp is independent of number of channels and encoding. fix the timestamp calculation for outgoing RTP packets, by dividing the total number of samples on number of channels. the bug was not affecting calls with mono audio, but was very likely to affect calls with stereo audio (e.g. OPUS)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions