Set the version of the RTP packet in buffer to version.
buffer
version
the RTP packet
the new version