src/plugins/rayo/src/java/com/sun/voip/RtpSenderPacket.java
/**
     * Update the RTP sequence number and timestamp.  This method is called
     * after sending a packet of data.  The reason this isn't done automatically
     * is because the mixer sends packets with the same sequence # and
     * time stamp to multiple members.
     */
Update the RTP sequence number and timestamp.  This method is called
after sending a packet of data.  The reason this isn't done automatically
is because the mixer sends packets with the same sequence # and
time stamp to multiple members.
Update the RTP sequence number and timestamp . This method is called after sending a packet of data . The reason this isn ' t done automatically is because the mixer sends packets with the same sequence # and time stamp to multiple members .
public void updateRtpHeader(int size) {
	rtpSequenceNumber++;
        buffer[0] = (byte)0x80;           
        buffer[1] &= ~MARK_BIT;   	  
        buffer[2] = (byte)((rtpSequenceNumber >> 8) & 0xff);
        buffer[3] = (byte)(rtpSequenceNumber & 0xff);
        /*
         * adjust RTP header time stamp
         */
	adjustRtpTimestamp(size - HEADER_SIZE);
    }
public void updateRtpHeader ( int size ) { rtpSequenceNumber ++ ; buffer [ 0 ] = ( byte ) 0x80 ; buffer [ 1 ] &= ~ MARK_BIT ; buffer [ 2 ] = ( byte ) ( ( rtpSequenceNumber >> 8 ) & 0xff ) ; buffer [ 3 ] = ( byte ) ( rtpSequenceNumber & 0xff ) ; /*
         * adjust RTP header time stamp
         */ adjustRtpTimestamp ( size - HEADER_SIZE ) ; }
Update the RTP sequence number and timestamp.
Update the RTP sequence number and timestamp .
// version 2 // clear MARK bit