src/org/jnetpcap/protocol/voip/Rtp.java
private static int baseHeaderLength(final JBuffer buffer, final int offset) {
		final byte b0 = buffer.getByte(offset);
		final int cc = (b0 & CC_MASK) >> CC_OFFSET;

		return Rtp.STATIC_HEADER_LENGTH + (cc * CSRC_LENGTH);
	}
/**
	 * Calculate the base header length (Rtp header without an extension).
	 * 
	 * @param buffer
	 *          buffer with rtp header
	 * @param offset
	 *          offset into the buffer
	 * @return dynamic length of the header with extension ignored
	 */
Calculate the base header length (Rtp header without an extension).

@param buffer
buffer with rtp header
@param offset
offset into the buffer
@return dynamic length of the header with extension ignored
Calculate the base header length ( Rtp header without an extension ) . @param buffer buffer with rtp header @param offset offset into the buffer @return dynamic length of the header with extension ignored
private static int baseHeaderLength(final JBuffer buffer, final int offset) {
		final byte b0 = buffer.getByte(offset);
		final int cc = (b0 & CC_MASK) >> CC_OFFSET;
		return Rtp.STATIC_HEADER_LENGTH + (cc * CSRC_LENGTH);
	}
private static int baseHeaderLength ( final JBuffer buffer , final int offset ) { final byte b0 = buffer . getByte ( offset ) ; final int cc = ( b0 & CC_MASK ) >> CC_OFFSET ; return Rtp . STATIC_HEADER_LENGTH + ( cc * CSRC_LENGTH ) ; }
Calculate the base header length (Rtp header without an extension).
Calculate the base header length ( Rtp header without an extension ) .