OpenViBE forum

The OpenViBE community
It is currently Mon Oct 23, 2017 12:57 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Tue Apr 12, 2011 9:08 am 
Offline
Site Admin

Joined: Wed Oct 07, 2009 12:11 pm
Posts: 417
Hello OpenViBE developers !

As you may notice the OpenViBE 0.10.0 release is now available with many new features ;)

We implemented for the box developers new templates that will make encoding and decoding process much more simple !
This feature is the Codec Toolkit : a set of classes that you can manipulate easily in order to decode and encode any stream in your openvibe boxes.
Only few lines of code are now necessary, and you don't need to manipulate any trigger, input or output identifier to use it !

We updated the documentation section :
- The Codec Toolkit tutorial. It's still highly advised to do the previous tutorials first !
- The Codec Toolkit Reference page. Quick access to all functionalities.

I hope you will enjoy this time-saving feature as much as we already do here :)

Feel free to ask any upcoming question !
... and as usual any feedback is appreciated ;)

Laurent-

_________________
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 14, 2011 11:49 am 
Offline

Joined: Thu Sep 02, 2010 2:43 pm
Posts: 78
Location: Université Libre de Bruxelles
Hey Laurent,

Just wanted to draw your attention to a small error in the files provided in the SVN checkout -

ovpCTestCodecToolkit.h - line 47 and 48 - Instead of

Code:
OpenViBEToolkit::TStimulationDecoder < CTestCodecToolkit > m_oStimDecoder;
OpenViBEToolkit::TStimulationEncoder < CTestCodecToolkit > m_oStimEncoder;


it should be

Code:
OpenViBEToolkit::TStimulationStreamDecoder < CTestCodecToolkit > m_oStimDecoder;
OpenViBEToolkit::TStimulationStreamEncoder < CTestCodecToolkit > m_oStimEncoder;


Also, in ovpCTestCodecToolkit.cpp - line 40 and 42 - Instead of

Code:
TStimulationDecoder < CTestCodecToolkit > * l_oTStimulationDecoder = new TStimulationDecoder < CTestCodecToolkit >(*this);
   delete l_oTStimulationDecoder;
TStimulationEncoder < CTestCodecToolkit > * l_oTStimulationEncoder = new TStimulationEncoder < CTestCodecToolkit >(*this);
   delete l_oTStimulationEncoder;


it should be

Code:
TStimulationStreamDecoder < CTestCodecToolkit > * l_oTStimulationDecoder = new TStimulationStreamDecoder < CTestCodecToolkit >(*this);
   delete l_oTStimulationDecoder;
TStimulationStreamEncoder < CTestCodecToolkit > * l_oTStimulationEncoder = new TStimulationStreamEncoder < CTestCodecToolkit >(*this);
   delete l_oTStimulationEncoder;


- Karthik

Update: Now it seems to show me an error for StimulationStreamEncoder and compiles with StimulationEncoder and Decoder. Disregard this post of mine. Sorry about the mixx-up.

Edited by yrenard: format code text :)

_________________
Regards,

Karthik


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 14, 2011 4:58 pm 
Offline
Site Admin

Joined: Wed Oct 07, 2009 12:11 pm
Posts: 417
oops my mistake ! :oops:

I suppose you compared the code given in the tutorial with the code on the SVN.
Indeed it does not match, but the good file is the one on the SVN, as it is compiling and producing the box you can see in the designer (samples/Codec Toolkit testbox).

It seems like I didn't update the tutorial after my last modification...
The stimulation codecs were the only ones ending with the word "Stream", I removed this word to unify the naming.

It should be ok now.

Thanks for the feedback, it is much appreciated !

Laurent-

_________________
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maël Soucaze.