pjmedia_rtp_encode_rtp() timestamp update

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

 



Hi,
Why does pjmedia_rtp_encode_rtp() update the RTP header timestamp with
ts_len inline? Shouldn't the RTP timestamp be of the start of the
frame? RFC 3550 says:

The timestamp reflects the sampling instant of the first octet in the
RTP data packet.

So don't you want to update the RTP session timestamp with ts_len only
after the packet is sent?

Is there something I'm missing here?

Kal

_______________________________________________
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