The Wowza™ IDE is an add-on to the Eclipse integrated development environment that allows you to build Java projects and classes to extend and enhance the functionality of Wowza Streaming Engine™ media server software. The Wowza IDE is available for Windows, Linux, and macOS. It's packaged as a software repository that can be added on to Eclipse 4.3 (Kepler) or later.
Note: For best results, build modules against the Java version that your Wowza Streaming Engine instance uses.
Install Eclipse for Java Developers
First, download and install the Eclipse IDE.
- Download the latest Eclipse installer.
Note: Install the latest version of Eclipse for your operating system. Eclipse 4.3 (Kepler) or later is required, however, the Wowza IDE doesn't work with Eclipse IDE 4.4 (Luna) on Ubuntu 16.x.
- Start the installer.
- Choose Eclipse IDE for Java Developers as the package to install, accept the default Installation Folder, and click Install.
- When prompted, accept the licenses and trust the certificates.
- Launch Eclipse when the install completes.
Install the Wowza IDE
Now, get the Wowza IDE for use in Eclipse.
- In Eclipse, click the Help menu and choose Install New Software.
- In the Install window, in the Work with field, enter https://www.wowza.com/wowzaide4/
Note: If you enter the Wowza IDE 4 URL in a web browser, you'll get a 403 error.
- Click Add.
- In the Add Repository window, for Name enter Wowza. Then, click Add.
- Select the box next to Wowza IDE 4 and click Next.
- Review the details, accept the licenses, and click Finish.
Confirm that the Wowza IDE installed correctly.
- Restart Eclipse.
- Choose File > New > Other.
You should see the following Wowza Streaming Engine wizards:
- Wowza Streaming Engine HTTPProvider Class
- Wowza Streaming Engine Module Class
- Wowza Streaming Engine Project
- Wowza Streaming Engine ServerListener Class
Create a Wowza Streaming Engine project
Now you can create a Wowza Streaming Engine project in Eclipse. A project is a complete Wowza Streaming Engine extension that produces a .jar file with the same name as the project. Here's how to create a Wowza Streaming Engine project in Eclipse.
- In Eclipse, choose File > New > Other.
- Select Wowza Streaming Engine Project and then click Next.
- In the New Wowza Streaming Engine Java Project window, enter the following information:
- Project name – A name for the project and the .jar file output. The name can't contain spaces.
- Location – The path to your Wowza Streaming Engine installation.
- Click Next.
- On the New Wowza Streaming Engine Module Class page, enter the following information:
- Package – The Java package path for your project. The Java convention is a reverse domain, for example, com.mycompany.wowza. The path can't begin or end in a period.
- Name – A name for the module class. The Java convention uses camel case, for example, MyWowzaModule.
- Click Finish.
Each time you change the code in a project, the Wowza IDE automatically compiles and binds the code into the .jar file using the build.xml Ant script and saves it in the [install-dir]/lib folder. On startup, Wowza Streaming Engine loads each of the .jar files in the [install-dir]/lib folder and makes them available for use.
Add a project module to a Wowza Streaming Engine application
Add the module to a Wowza Streaming Engine application using the project's information.
- Sign in to Wowza Streaming Engine Manager, click the Applications tab at the top of the page, and then click on the application you want to add the module to.
- Click the Modules tab, and then click Edit.
- Click Add Module.
- Enter a name, description, and class name based on the Wowza Streaming Engine project in Eclipse:
- Name – The name of the project's module class, for example, MyWowzaModule.
- Description – Also the name of the project's module class, for example, MyWowzaModule.
- Fully Qualified Class Name – The project's package path followed by a period and the name of the project's module class, for example, com.mycompany.wowza.MyWowzaModule.
- Click Add.
Add a class to the project
You can use the other Wowza IDE wizards to add additional classes to your Eclipse project.
- In the Package Explorer panel that appears by default on the left side of the Java perspective of Eclipse, right-click the package path to which you want to add the class, hover over New, and then click Other.
- In the wizard that opens, select the Wowza Streaming Engine class you want to add to the project. For example, select the module class or server listener class, and then click Next.
- Using camel case, enter a Name for the class and then click Finish.