[Asterisk-Dev] iax2 video frame timestamps

Jeff Grollo jgrollo at horizonlive.com
Fri Apr 29 17:18:11 MST 2005


The enlightening iax(2) spec released yesterday describes timestamps 
for meta video frames as 16 bits. However, the diagram for meta video 
frames displays a '?' as bit 0 in the timestamp. chan_iax2.c (line 
7324) only uses the lower 15 bits of the timestamp to construct a full 
32-bit timestamp:

    fr.ts = (iaxs[fr.callno]->last & 0xFFFF8000L) | (ntohs(mh->ts) & 
0x7fff);

Is that bit of the timestamp reserved or should the full 16 bits be 
used in timestamp calculations?

Jeff Grollo




More information about the asterisk-dev mailing list