forked from norman/fusionpbx-install.sh-github-mirror
Create rtp_timestamp.patch
This commit is contained in:
10
debian/resources/switch/source/rtp_timestamp.patch
vendored
Normal file
10
debian/resources/switch/source/rtp_timestamp.patch
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
--- switch_rtp.c 2024-06-22 15:48:16.879125840 +0000
|
||||||
|
+++ switch_rtp.c 2024-06-22 15:50:05.055559774 +0000
|
||||||
|
@@ -8904,6 +8904,7 @@
|
||||||
|
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