[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] adding G726-40, 32, 24, 16 dynamic PT codecs to oRT
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] adding G726-40, 32, 24, 16 dynamic PT codecs to oRTP |
Date: |
Wed, 25 Jan 2006 19:39:38 +0100 |
User-agent: |
KMail/1.9.1 |
Hello,
Your payload definitions are ok. I think your noise problem probably results
of encoding/decoding problems. Also check that all packets are correctly
received (no timestamp problems) using the oRTP statistics
(ortp_global_stats_display()).
You can setup a profile on a per call basis using this:
RtpProfile *prof=rtp_profile_clone(&av_profile);
/* add your dynamic payloads:*/
rtp_profile_set_payload(prof,32,&payload_type_g726_40);
/*...*/
/* set the profile to the session */
rtp_session_set_profile(session,prof);
Simon
> When I try to set up a conversation with the SIPURA ATA using any of the
> above codecs, I get annoying noise.... - which could be due to further
> modifications needed to the oRTP lib or some internal imlementation
> error, that is what I am trying to find out. However, my code works just
> fine with ALL static PT codecs -G711, G729a.G723. Are there any further
> modifications that should be applied to oRTP to support the
> aforementioned codecs?
>
> Additionally, the RTP payload type of theses codecs is determined by
> the call stack and should be decided on a per call basis. Could anybody
> tell me - preferrably using an example - what are the functions I should
> call in order to perform such a task?
>
> Any help would be greatly appreciated.
>
> Regards,
> Dimitris