GNOME Bugzilla – Bug 605882
rtpg723pay is incorrect
Last modified: 2010-02-11 21:06:34 UTC
I was just reading RFC 3551 (section 4.5.3). I noticed that G.723 does not have 2 different types of frames, but 3. And that they can be intermixed in any way you want. So you have to look at the first 2 bits of the frame to know the size. So the rtpg723pay element in the tree is incorrect as it assume thats the same rules as for G.729 can be applied. We should either fix it or remove it before the next release.
Can someone test this? commit d6d06630e8e1d9f60794791766597c9c12c337e2 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Jan 5 18:33:25 2010 +0100 rtpg723pay: rewrite payloader Handle all 3 packet sizes according to RFC 3551. Totally untested, we don't have a G723 encoder. Fixes #605882
i can try to fix it, but i might have problems testing with diferent types of frames, the encoder i can use to test works only with one of the frame types.
ops, sorry, now that i realized that it is already implemented and there is only testing left to be made, i will see if i can get a encoder that can test the 3 frame types (i think the one i have at my work will only encode 2 frame types, or only one).