Streamalot: Streaming
Media Tips, Tricks, and Hints
Wowza Tips & Tricks
FLVPlayback and Flex Video components require custom module
The Flash FLVPlayback components requires a server side module be included in your application's configuration to operate properly. Many open source media player components embed the FLVPlayback component. To get this component to work with the Wowza Pro server, follow the steps below to add the needed module definition to your application. For this example, I will configure an application named mystreamingvideos and will use a .flv file name of mycoolvideo.flv.
Create an application folder [install-dir]/applications/mystreamingvideos.
Create a configuration folder [install-dir]/conf/mystreamingvideos.
Copy [install-dir]/conf/Application.xml into the new configuration folder.
Edit [install-dir]/conf/mystreamingvideos/Application.xml and add the following module definition to the end of the <Modules> list:
At this time you might also want to specify a folder path for Streams/StorageDir. If this value is set, the server will serve .flv files from the specified folder. If left unset, the server will serve .flv from the default folder:
[install-dir]/applications/mystreamingvideos/streams/_definst_.
For example, if you want to stream .flv files from c:\movies, you would set Streams/StorageDir to:
Copy the mycoolvideo.flv into the appropriate folder as specified in the previous step.
In the Flash editor, create an instance of the FLVPlayback component on the stage, open the component inspector and change the contentPath to rtmp://localhost/mystreamingvideos/mycoolvideo.flv.
Select Control>Test Movie from the Flash menus.
[install-dir]
Windows (default): C:\Program Files\Wowza Media Systems\Wowza Media Server Pro
Mac OS X: /Library/WowzaMediaServerPro
Linux: /usr/local/WowzaMediaServerPro
If you have an idea for a Tutorial, would like to contribute, or
are just interested in being notified of an update, please Contact Us.