mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add manual_rtp_bug gen_one_gen_all to prevent rtp passthru to break the *S* word..
This commit is contained in:
@@ -685,7 +685,7 @@ typedef enum {
|
||||
*/
|
||||
|
||||
|
||||
RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7)
|
||||
RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7),
|
||||
|
||||
/*
|
||||
Oracle's Contact Center Anywhere (CCA) likes to use a single RTP socket to send all its outbound audio.
|
||||
@@ -694,6 +694,21 @@ typedef enum {
|
||||
*/
|
||||
|
||||
|
||||
RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8)
|
||||
|
||||
/*
|
||||
Some RTP endpoints (and by some we mean *cough* _SONUS_!) do not like it when the timestamps jump forward or backwards in time.
|
||||
So say you are generating a file that says "please wait for me to complete your call, or generating ringback"
|
||||
Now you place and outbound call and you are bridging. Well, while you were playing the file, you were generating your own RTP timestamps.
|
||||
But, now that you have a remote RTP stream, you'd rather send those timestamps as-is in case they will be fed to a remote jitter buffer......
|
||||
Ok, so this causes the audio to completely fade out despite the fact that we send the mark bit which should give them heads up its happening.
|
||||
|
||||
Sigh, This flag will tell FreeSWITCH that if it ever generates even one RTP packet itself, to continue to generate all of them and ignore the
|
||||
actual timestamps in the frames.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
} switch_rtp_bug_flag_t;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
Reference in New Issue
Block a user