Sequence number in RTP packet is a 16 bit field. It starts with a random value. Lets say I keep sending RTP packet, at some point of time it will reach max value 0xFFFF. Then I need to set the sequence number to smaller value. That time, should I set the sequence number to 1 or again I need to set random value.
Take a look at RFC 3550 here: https://www.rfc-editor.org/rfc/rfc3550
Basically, it wraps around from 0xFFFF to 0x0000.