FS-7500: better version of last commit

This commit is contained in:
Anthony Minessale 2014-11-25 17:42:21 -06:00 committed by Michael Jerris
parent b747687bb2
commit 45898cfad7
1 changed files with 5 additions and 1 deletions

View File

@ -7065,7 +7065,11 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
send_msg->header.version = 2;
send_msg->header.m = frame->m;
send_msg->header.ts = htonl(frame->timestamp);
send_msg->header.ssrc = htonl(frame->ssrc);
if (frame->ssrc) {
send_msg->header.ssrc = htonl(frame->ssrc);
} else {
send_msg->header.ssrc = htonl(rtp_session->ssrc);
}
}
} else {