linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Receiving multiple RTP streams


From: Simon Morlat
Subject: Re: [Linphone-developers] Receiving multiple RTP streams
Date: Fri, 14 Dec 2007 10:24:20 +0100
User-agent: KMail/1.9.7

Hi,

Le Monday 10 December 2007 11:13:18 John Pallister, vous avez écrit :
> Hello,
>
> My oRTP-using application needs to be able to receive
> multiple RTP streams. I have a couple of questions regarding
> this:
>
> - Can oRTP receive multiple streams on the same address &
> port and then disambiguate them based on the sender address
> & port? Or do all streams have to arrive on different ports
> (like mrtprecv.c suggests)?
No, each session is using differents local port. as mrtprecv.c does.
sender address & port recognition is not reliable as source address may not be 
known in advance (case of rtp streams through nats).

>
> - Is oRTP thread-safe, that is, can I have multiple threads
> each calling rtp_session_recvm_with_ts() for a different
> session on a different port? 
Yes you can.
> Or is session_set_select() the 
> only way to go?
No, the first way is ok too, and perhaps a bit simpler.

Simon

>
> Thanks very much,
>
> John :^P






reply via email to

[Prev in Thread] Current Thread [Next in Thread]