FS-7500: better version of last commit
This commit is contained in:
parent
b747687bb2
commit
45898cfad7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue