/* * Copyright (c) 1991 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by the University of California, Lawrence Berkeley Laboratory, * Berkeley, CA. The name of the University may not be used to * endorse or promote products derived from this software without * specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * @(#) $Header: /home/hgs/src/cvsroot/rtptools/vat.h,v 1.1.1.1 1997/08/07 17:13:53 hgs Exp $ (LBL) * modified for NEVOT by H. Schulzrinne */ #ifndef vat_packet_h #define vat_packet_h /* * vat packet header (0 is MSB): * * 0 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | V | |T| | | | * | e | NSID |S| 0 | Audio | Conference ID | * | r | | | | Format | | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | | * | Time Stamp (in audio samples) | * | | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * * protocol version (2 bits) * no. of speaker id's (6 bits) [= 0 if src address should be used as id] * flags (3 bits) * audio format (5 bits) * conference identifier (16 bits) * timestamp [in audio samples] (32 bits) * <0 to 63 4-byte speaker id's> *