zrtp: In ZRTP header, use network byte order for SSRC, as defined in RFC 6189

This commit is contained in:
Heikki Tampio 2023-06-14 10:34:20 +03:00
parent 485f6521c2
commit 24e8225b11
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ void uvgrtp::zrtp_msg::zrtp_message::set_zrtp_start(uvgrtp::zrtp_msg::zrtp_msg&
/* TODO: convert to network byte order */
set_zrtp_start_base(start, msgblock);
start.header.ssrc = session.ssrc;
start.header.ssrc = htonl(session.ssrc);
start.header.seq = session.seq++;
}