How to fix incorrect stream path problems with some Flash players (FixStreamPath)

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


Source code is available on GitHub.
Wowza media server software and all components, including modules, source code, and other related items offered on this page, are copyrighted (c) 2006-2016 by Wowza Media Systems, LLC, all rights reserved, and are licensed pursuant to the Wowza Media Software End User License Agreement.

Originally Published: For Wowza Streaming Engine 4.0.6 on 08-11-2014.
Updated: 09-28-2016.
 

If you're having problems or want to discuss this article, post in our forum.