Wrong data type of the id and version in the "origin" (o=) field of SDP

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

 



Hi all!

I just noticed that the data types of both fields are "uint32_t"
(as can be seen in pjmedia\include\pjmedia\sdp.h, line 610 and 611).
However, RFC-2327 "SDP: Session Description Protocol" recommends (in
chp. 6, http://www.rfc-editor.org/rfc/rfc2327.txt) that NTP timestamps
as values for these fields.
RFC-1305 "Network Time Protocol (Version 3)" specifies NTP-timestamps as
"64-bit unsigned fixed-point number" (chp. "Data Formats", 2nd paragraph
on http://www.rfc-editor.org/rfc/rfc1305.txt).

So IMHO these fields should be declared as "uint64_t" (or whatever gives
an 64bit unsigned int) and the parser reviewt/updated for that.

So what have I missed or is it just a simple bug (which should be put
into pjsip's bugzilla)?

MfG,
	Bernd Petrovitsch
-- 
mobile: +43 664 4416156              http://www.sysprog.at/
    Linux Software Development, Consulting and Services




[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