Generate random 32-bit starting value for RTP sequence

Required by the spec
This commit is contained in:
Aaro Altonen 2019-06-27 11:55:39 +03:00
parent e524ffbc10
commit ee2da80dde
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}