Wrong packet size in stream with enc_ptime != frm_ptime (with patch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I'm using pjmedia/stream.c for an RTP implementation.
Due to some specific requirements, I need to use a different enc_ptime
compared to frm_ptime.

Usually this works out quite fine, except when there's no connection
and the conferencer hands over an empty frame. In that case, it's
wrongly assumed that a complete packet was provided. As a consequence,
the packet rate is not enc_ptime, but frm_ptime.

Instead it sound use the samples_per_frame information from the codec.

The attached patch fixed this issue...

Please integrate.
Many thanks in advance.


Regards,
Michael

Attachment: stream.c.patch
Description: Binary data

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux