linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] rtp_session_recv_with_ts and null fill


From: Niklas Fondberg
Subject: [Linphone-users] rtp_session_recv_with_ts and null fill
Date: Tue, 19 Dec 2006 13:57:36 +0100

Hi all,
I'm new to using the ortp library and this list seems to be the correct one for it.
I'm trying to disable the null filling of the payload but I'm unsuccessful.

My code is basically the same as src/test/rtpsend.c and src/test/rtprecv.c.
When I change the payload type from
    rtp_session_set_payload_type(p_rtp_session->session,PAYLOAD_AUDIO_CONTINUOUS);
to
    rtp_session_set_payload_type(p_rtp_session->session,PAYLOAD_AUDIO_PACKETIZED);
I receive nothing.

My end goal will be to have a simple voiceplayer that doesn't include any protocols such as SIP, H.323 or MGCP but rather just get setup from another application and recieves G.711 u-law/a-law and decodes it and plays it back as well as the other was encodes and transmits it.

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?

Is there any special things to think about when testing with sender and receiver on one machine (127.0.0.1)?


Many thanks in advance and I hope I'm not asking dumb questions that are in some online documentation.
Niklas

reply via email to

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