[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] rtp_session_recv_with_ts and null fill
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] rtp_session_recv_with_ts and null fill |
Date: |
Thu, 4 Jan 2007 14:30:31 +0100 |
User-agent: |
KMail/1.9.5 |
Hi,
>
> I guess the null filling is for having CBR for audio silence but is this
> necessary?
>
> What do I do if I want to transmit a file like in the example
> (rtpsend/rtprecv) and want the file without null bytes?
You can use the low level functions:
mblk_t *m=rtp_session_recvm_with_ts(session,ts);
this returns a mblk_t structure containing the rtp packet. All you have to
know is that the rtp data starts at m->b_cont->b_rptr and ends at
mp->b_cont->b_wptr
>
> Is there any special things to think about when testing with sender and
> receiver on one machine (127.0.0.1)?
Nothing special.
Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Linphone-users] rtp_session_recv_with_ts and null fill,
Simon Morlat <=