linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Codec usage via plugin


From: Johan Pascal
Subject: Re: [Linphone-developers] Codec usage via plugin
Date: Fri, 30 Oct 2015 22:40:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Nick,
yes you have to declare a payload type in oRTP (in avprofiles.c and payloadtype.h), but also register the payload type in libphonecore.c

See for example the commits made the 20/08/2015 on oRPT/mediastreamer2/linphone to integrate codec2 plugin.

Johan

On 29/10/15 18:06, address@hidden wrote:

Hi,

 

I could do with some help to clarify my understanding of this process.

 

I have stripped back the core of the G729 plugin(as a template) and changed out the specifics of G729 to my codec naming. It compiles and builds a library that is installed in the right dir.

 

If I invoke ‘linphonec –d’, I can see mention of the codec being loaded OK, but then nothing else. It does not appear in the list of available codecs.

 

I have been wondering if linphone has to know of all the possible codecs and then it matches a plugin to a codec definition that it knows about (as declared in oRTP/src/avprofiles.c and then registered in linphonecore.c and listed in the registrations contained within linphone_core_register_default_codecs(…).

 

If someone could help me here that would be great!

 

Many thanks

 

nick



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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