FS-7500: better version of last commit

This commit is contained in:
Anthony Minessale
2014-11-25 17:42:21 -06:00
parent 53311e53d9
commit 2e2a606306
+5 -1
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 {