Set the sequence number of the RTP packet in buffer to seq.
buffer
seq
the RTP packet
the new sequence number