]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Fix source fraction always 0 in RTCP events
authorNimrod Astrahan <nimast@gmail.com>
Tue, 27 Jan 2015 16:13:04 +0000 (18:13 +0200)
committerNimrod Astrahan <nimast@gmail.com>
Tue, 27 Jan 2015 16:13:04 +0000 (18:13 +0200)
commit5f7e111f79dd1a965aa956da7495485f52b0a1cc
tree0613425231435ce0659c614fb04ac845fd76ef5d
parent193e584efc8926b4f593c3f4e1eafb01459dec15
Fix source fraction always 0 in RTCP events

Without the value for source fraction, applications relying on RTCP events for making changes to FS behaviour or even for logging get false information.

With this change the value for source fraction is passed along in RTCP events correctly.

To my current understanding, as the value for fraction in the RTCP packet is represented by 8 bits according to the spec, calling `ntohl` on it will always zero it out. Fixed by removing the call.

FS-7203 #resolve
src/switch_rtp.c