Red5 1.0.0 Packaging Note

1. Replace the “org.red5”

  • Download the red5 source code from the svn

image

  • Since Source code in that repository is not up-to-date, we need to download the up-to-date source code.
  • Change the whole source code directory – “src” in your eclipse workspace

image

  • Then you will need to download the related libraries to compile your “boot.jar” and “red5.jar” files. Easiest way is open the build.xml file in Java EE Perspective and Run “all” option.

image

  • Then it will download the libraries into “lib” directory, and do the stuff.

image (Downloaded jar files)

  • Also, if you downloaded all the libraries correct and compile successful, you will find the “boot.jar” and “red5.jar” files in your directory.

image

  • Refactor the package name for the red5, I changed them to the “vol.msg”:

image

  • Result:

image

  • [Quick Tip]

If the directory is represented in flat style, you need to change it to the hierarchical style.

image

  • Also Change the “org.red5” to “vol.msg” in build.xml file. All of them.

image

  • You also can change the build.properties file for several details.

image

  • Then I think you might be able to compile boot.jar and red5.jar two important files successfully. Other tiny problems will be ignored in this article cuz they were all easy to handle.
  • Also need to change the red5.* any strings like that.
  • Then Change download the tomcatplugin from the red5 svn, change it to fit our changed red5 media server.
  • image Theses are the libraries that tomcatplugin needs.
  • Got Tired of writing those things since I finished my work for repackaging the red5. It will be end of this writing.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s