[Top][All Lists]

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

Re: [Linphone-developers] No mp for timestamp queried???

From: Simon Morlat
Subject: Re: [Linphone-developers] No mp for timestamp queried???
Date: 11 Jul 2002 10:53:25 +0200


>             //          ortp_scheduler_init();
> /*not using the scheduler but init it anyway*/
>             rtpsession = rtp_session_new(RTP_SESSION_SENDRECV);
> /*set up an RTP session that can both send and receive*/              
>             rtp_session_set_blocking_mode(rtpsession, 1);
>             rtp_session_set_scheduling_mode(rtpsession, 0);
Setting blocking mode with out scheduling mode in not possible: you need
the scheduler to be blocked.
No mp for timestamp %i means that when you requested timestamp xxxx, it
was not received.
I'm sure it is clear, but oRTP is just an RTP stack, it does not deal
with soundcard, neither codec decoding. So you will never hear something
when oRTP is running alone, as shown in your program.
You have example programs in oRTP: src/rtprecv.c src/rtpsend.c . They
use both scheduler and blocking mode to be synchronised (send and recv
packets on time). rtpsend.c sends an rtp stream from a file on disk, and
rtprecv.c recvs an rtp stream and writes it to disk.


reply via email to

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