Fix incorrect stream path problems with some Flash players with a Wowza Streaming Engine Java module

The ModuleFixStreamPath module for Wowza Streaming Engine™ media server software fixes a problem that sometimes occurs in the stream path with some Flash players. Some Flash players that accept a single string for RTMP connection and stream name don't separate these correctly when content is stored in a subfolder of an application's content location.

Contents


Prerequisites
Installation
Configuration
Usage
For developers

Prerequisites


Wowza Streaming Engine 4.0.0 or later is required.

Installation


  1. Download wse-plugin-fixstreampath.zip.
     
  2. Extract the contents from the downloaded (zipped) package, and then copy the lib/wse-plugin-fixstreampath.jar file from the package to the lib folder in your Wowza Streaming Engine installation ([install-dir]/lib).
     
  3. Restart Wowza Streaming Engine.

Configuration


To enable this module, add the following module definition to your application configuration. See Configure modules for details.

Name
Description
Fully Qualified Class Name
ModuleFixStreamPath Fixes stream path problem in Flash. com.wowza.wms.plugin.FixStreamPath

Usage


Given a URL of the form:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder/sample.mp4

A Flash player will incorrectly make the RTMP connection:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder

The player will try (and fail) to play sample.mp4 instead of correctly playing mp4:subfolder/sample.mp4.

For developers


  • Get the source code on GitHub