forked from norman/fusionpbx-install.sh-github-mirror
Updated patches for FreeSWITCH
This commit is contained in:
12
debian/resources/switch/source/switch_rtp.diff
vendored
Normal file
12
debian/resources/switch/source/switch_rtp.diff
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/switch_rtp.c b/src/switch_rtp.c
|
||||
index 1125e2f59bc..7ff161383aa 100644
|
||||
--- a/src/switch_rtp.c
|
||||
+++ b/src/switch_rtp.c
|
||||
@@ -8904,6 +8904,7 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
|
||||
data = frame->data;
|
||||
len = frame->datalen;
|
||||
ts = rtp_session->flags[SWITCH_RTP_FLAG_RAW_WRITE] ? (uint32_t) frame->timestamp : 0;
|
||||
+ if (!ts) ts = rtp_session->last_write_ts + rtp_session->samples_per_interval;
|
||||
}
|
||||
|
||||
/*
|
||||
Reference in New Issue
Block a user