Red5 streaming with swftools.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jovemac's picture

Hello!

I'm planning for audio on demand service using drupal. For the audio streaming, I'm successful with RED5 server for audio streaming and application using ofla. The streaming url is "rtmp://localhost/oflaDemo" Red5 services uses the port 5080. Drupal is also installed in the localhost default port 80. The audio files to be streamed are stored in the folder /usr/share/red5/webapps/oflaDemo/streams/Track01.mp3.

For the client side, I installed swftools 6.2x. and as the document Streaming content from a Flash Media Server with SWF Tools says

To stream a single flv video file:
[swf file="sample" stream="rtmp://server/app" action="swftools_flv_display"]

I gave

[swf file="Track01.mp3" stream="rtmp://localhost/oflaDemo" action="swftools_mp3_display"]

In the file handling session of swftools, I've changed as below.

$conf = array(
'swftools_media_url' => '/usr/share/red5/webapps/oflaDemo/streams', // No trailing slashes!
);

Error msg as follows:

warning: Parameter 2 to wijering4_swftools_flashvars() expected to be a reference, value given in /var/www/drupal-6.22/includes/module.inc on line 461.

When clicked on play button, It shows Error #2032.

Please advise..