Generate random 32-bit starting value for RTP sequence
Required by the spec
This commit is contained in:
parent
e524ffbc10
commit
ee2da80dde
|
@ -17,7 +17,7 @@ kvz_rtp::connection::connection(bool reader):
|
|||
socket_(),
|
||||
reader_(reader)
|
||||
{
|
||||
rtp_sequence_ = 45175;
|
||||
rtp_sequence_ = generate_rand_32();
|
||||
rtp_ssrc_ = 0x72b644;
|
||||
rtp_payload_ = RTP_FORMAT_HEVC;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue