VP8 codec

373 views
Skip to first unread message

Régis Montoya

unread,
Nov 20, 2012, 5:12:34 PM11/20/12
to CSipSimple dev group
Hi,

The vp8 codec (from webm project) is now available in source code and in
the updated version of the video plugin on nightlies repo.

If some wants to review the code or contribute to it, they will be
welcome ! :)
It's first implementation and I focused to interop only between 2
csipsimple. There is some known limitation on unpacking received stream
so may not work with all remote side.

There is also some starting work to optimize capturer / codecs settings.
If both are synchronized on same values it avoids rescaling on sender
side which will save CPU and delegate to receiver side that does using GPU.

*However*, as I often repeated here, Video is not yet finished to rely
on as a basis to do some video sip client.
If anyone wants to contribute to core in order to improve it they'll be
welcome.
If anyone tries to use it to build on the top, they'll get no support
because it's not yet ready as a solid foundation. (And they'll also get
very disappointed to support it in future because api will probably
evolves a lot to have things really optimized). It starts to be useable
in most cases now but doesn't means it's known to work in all cases and
there is very well known failure case that are still to be managed properly.


Best regards,
R�gis

adhish nigam

unread,
Nov 23, 2012, 1:49:03 AM11/23/12
to csipsim...@googlegroups.com
hii regis

I want to ask one question to you.. If i want to default check on the codec G729 ,pcmu so what should i do which class will be more help full for me actually i have make all the check box of codec TRUE but they are Physically showing checked but not logically ... means they are not working even the are checked ... do you have any idea of that issue.. i want default check on G729  and pcmu where we no need to checked explicitly its automatically or default show checked .. please help  

Régis



--
Adhish Nigam | Ascent Telecom

Régis Montoya

unread,
Nov 23, 2012, 4:04:27 AM11/23/12
to CSipSimple dev group
The reply here should help a little bit :
https://groups.google.com/d/msg/csipsimple-dev/m0qm60US4xs/b6k3zErQJ_sJ

I don't understand what you are trying to do with the checkboxes but it's just UI so do not modify that.
Place the call to the configuration API in your wizard. It's the correct place to add it. You can also get inspired of other wizard implementations you'll see some that modify the codecs list preference order (and disable some).


About G729. BIG WARNING !!! => IT'S A PROPRIETARY CODEC !!!!!!!!!!
You are not legally allowed to enable it automatically in your application *unless* you buy one end user license for *EACH* of your users! This is mandatory else g729 copyright holders will sue you and they are not kinding with that.
So if you are not buying a end user license for each of your users, do NOT enable it or it's at your own risks.
It's the good reason why it's disabled by default in csipsimple and why users that want to enable it has to take responsability to get a end user g729 license or to use it for development/study purposes.



2012/11/23 adhish nigam <adhis...@gmail.com>

adhish nigam

unread,
Nov 23, 2012, 4:53:41 AM11/23/12
to csipsim...@googlegroups.com
see Regis ,I want to make my codec g 729 as default in codec list.. do one thing 
please go to csipapplication...

settings--->Media--->codecs----->then you will see SILK ,PCMU,PCMA three codecs are checked and rest are not checked i want to checked g729 also in default as Silk,PCMU,PCMA... 

Please help,

adhish nigam

unread,
Nov 23, 2012, 5:36:54 AM11/23/12
to csipsim...@googlegroups.com
see Regis ,I want to make my codec g 729 as default in codec list.. do one thing 
please go to csipapplication...

settings--->Media--->codecs----->then you will see SILK ,PCMU,PCMA three codecs are checked and rest are not checked i want to checked g729 also in default as Silk,PCMU,PCMA...

please if you have any idea so please tell me  

Please help,

Régis Montoya

unread,
Nov 23, 2012, 5:44:41 AM11/23/12
to CSipSimple dev group
Did you read the post of the link????????

Do you think I don't know how the app works?!?! I know that the default codecs can be silk, pcmu and pcma. It's explicit configuration ! And I tell you that the way to change these default is to use the CSipSimple SipConfigManager API that is MADE in order to allow you to change these settings from code !!!

You have to use the API to setup the codec you want. That's it. Do not crap the code trying to add things everywhere in the code where you don't understand. Using only the API should allow you to do 99,999% of what you need to a rebranded version. Appart from manifest and CustomDistribution.java you should not change any line of the csipsimple project code. If you are modifying some line of the code, you are more likely doing something wrong and an equivalent clean and maintainable way to do the same exists and should be used instead. And if not, let us know, I'll add that as an option of CustomDistribution.java.

Once codec priority orders are modified through the API, It will then automatically appear in the user interface.
The user interface is a user interface not the service configuration. Do not care about the UI it's just a way to visualize the configuration and to change settings for user as a USER interface but it's definitely not a way to change configuration from source code.

You can also have a look for example to existing wizard :
http://code.google.com/p/csipsimple/source/browse/trunk/CSipSimple/src/com/csipsimple/wizards/impl/Beeztel.java#57
(there is a lot of others that does the same and it just works flawlessly).


AGAIN take big care about the license of G729 ! You are probably not allowed to do that *legally* in your application !


IT'S ALSO USELESS FLOODING THE THREAD DEDICATED TO VP8 !!!!
And I just did a search on the group.... I already replied you this question ! Do you read what was replied???? I'm pleased to help but if you start flooding and not trying to understand things and follow up on same thread I'm quickly get fed up helping you.


2012/11/23 adhish nigam <adhis...@gmail.com>

adhish nigam

unread,
Nov 23, 2012, 5:50:26 AM11/23/12
to csipsim...@googlegroups.com
ok Regis Thanks ..

Aniruddh Bhilvare

unread,
Feb 17, 2016, 9:03:15 AM2/17/16
to CSipSimple Development
Hello Regis,

I really admire your efforts for this project and always given support. Reffering this blog from pjsip,  VP8 codec integration for pjsip is available. However I wasn't able to find any reference of vp8 on their docs neither in their source. CSipSimple had libvpx in jni folder which might be the implementation for VP codec. 

My question is that how VP8 codec support available in pjsip? or in more formal way if i want to build a solution using pjsip at core for using vp8 codec is it feasible idea or not?        

I thought asking you this question instead of Perry Ismangil, as i was more confidant to get a proper answer form you.

jery john

unread,
Feb 24, 2016, 8:19:10 AM2/24/16
to CSipSimple Development
time for a post named "g729 support removed" huh regis? ;)
      on a serious note .i assume you are familiar with sipdroid.is it using a different audio (android audio)than csip? i always found csip superior on audio (no echo,crisp voice,low latency) can you please explain how you did this?
thank you
Reply all
Reply to author
Forward
0 new messages