Ramesh Kuppili <rkupp...@dasanzhone.com> writes:
> I have a situation where I am receiving multiple RTP stream from the 
> same IP address and port number.  But with different SSRC. The media in 
> the both streams is the same (audio, more precisely ringback tone).  How 
> should I handle this scenario.

Here is one complication:  Your system probably doesn't know when this
scenario is happening and when it is not happening, because your system
probably doesn't want to expend the effort to recognize when "The media
in the both streams is the same".

Thus, in practice, the question is, "I am receiving multiple RTP stream
from the same IP address and port number.  But with different SSRC.
What should I do in this situation, such that in the specific case when
I receive the same media (ringback tone) via both SSRCs, there is still
a good user experience."

Actually, if your system is receiving two copies of the same media under
different SSRCs, I would say that the sending system is malfunctioning.

The typical implementation during an early dialog is to mix all incoming
audio streams.  In addition, if one of the early dialogs is ringing (has
returned a 180 Ringing status but not a 199 Early Dialog Terminated) and
no non-silence audio is being received from that endpoint, the
implementation adds a locally-generated ringback tone to the mix.

Dale
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to