msgbartop
Various ramblings-on, mostly about Red5
msgbarbottom

30 Aug 08 Hibernate Transactions with BTM

I recently had the worst time trying to get JTA transactions to play nice in Hibernate configured via Spring. There is a lot of information out there on bits-n-pieces of the individual technologies but nothing seemed to show the whole picture, so I would like to provide the community with a working example. The code is not "perfect" but it demonstrates how to get this stuff working in harmony. A junit test, mssql scripts, and all the configs are included. I also set this up to use a composite key, since the project I worked on used a great deal of them and info was not easy to come by.
One of the libraries I used called BTM was instrumental in getting this to work (thanks Ludovic!), you will find this a lot easier to use than JOTM. There is a huge gotcha when using XA transactions with MSSQL, you have to install a dll and run some scripts to get it enabled and that info may be found here. I'm not sure if you have to do anything special in MySQL but I doubt it :)

The example comes as a zipped Eclipse project available here.
(more...)


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , , , , , ,

30 Aug 08 IvyDE - Part 1

Some of you may know that there are at least two different versions of the IvyDE, the plugin which interfaces Eclipse with your Ivy files. To use the plugin with Red5 you will need the latest version, especially if you use Ganymede. I will record some screen casts to help you through the upgrade / fixes. I apologize now for my large screen size, I will record smaller versions in the future. So without further rambling here is the first video: IvyDE part 1


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , , , ,

28 Aug 08 Support for onImageData and MP3 cover art

I have added support for onImageData and MP3 cover images to Red5. Check out the Jing! I have really big screens so its a large flash video, you may need to resize your browser to see it all.

The example project source is here: http://svn1.cvsdude.com/osflash/red5/flash/trunk/player4/
Also, dont make fun of my code, its just a quick example! :)


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , , , , ,

28 Aug 08 Mp3 metadata

I'm sure a few of you Red5 users will be happy to know that I have added support for the previously ignored ID3 tags. You will recieve them as the following names:

  • album
  • artist
  • songName
  • genre
  • year
  • track
  • comment

From the research I did via Google, these names should be correct. Lastly, check out the screen shot for "proof" :)

Screen shot


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , ,

21 Aug 08 Flash on Tap

Welcome fellow Red5, Flash, and Flex people! I want to let you all know that I will be conducting a workshop on Red5 with Dominick at the Flash on Tap conference in Boston during the second week of October 2008. For those of you that prefer face-to-face of one-on-one time with our core developers, this would be your opportunity - don't miss out!

http://www.flashontap.com/fot/index.html

Plus I'm pretty sure this is the "first" flash conference + beer festival. It's ok if you dont drink, just come for all the flash-ing  heh heh


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , , , , ,

05 Aug 08 Native code to Java

I recently needed to convert some C / C++ code to Java and I remembered a couple utilities which are supposed to do the conversion for you. These tools under the name C2J aren't especially useful in my case but they are difficult to find so I am making them available here. There are two versions:

  • c2java - This is the first-cut I believe
  • c2jGNU - This appears to be more robust

I tried to contact the authors before posting this, but they have yet to respond. I take no responsiblity for these tools so use them at your own risk.


View this Post in: Chinese(S) Chinese(T) French Arabic Bulgarian Croatian Czech Danish Dutch Finnish German Greek Hindi Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Spanish Swedish

Tags: , , ,