Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

RTMP Stream of MP3 from FMS Server Error

4 replies [Last post]

Hi there.

We're successfully streaming f4v's and flv's from our FMS server to JW FLV Player version 4.6 via RTMP with SWFOBJECT 2.2. MP3 streaming is not working.

We end up with a "Error #2032" when trying to play an MP3 file.

Here's the code block...

<script type='text/javascript' src='http://www.domain.com/media/video/js/swfobject.js'></script>
<script type='text/javascript'>
var flashvars = {
file:'010.mp3',
image:'http://www.domain.com/visitors/event/BashConv/Bash720.jpg',
skin:'http://www.domain.com/media/video/skins/ourskinstream.swf',
logo:'http://www.domain.com/media/video/images/logos/ourCopyright.png',
controlbar:'bottom',
quality:'true',
volume:'50',
type:'sound'
,streamer:'rtmp://fms.domain.com/vod/'
}
var params = {
allowfullscreen:'true',
allowscriptaccess:'always'
}
var attributes = {
id:'videoplayer4',
name:'videoplayer4'
}
swfobject.embedSWF('http://www.domain.com/media/video/player.swf',
'video4',
'720',
'512',
'9.0.124',
'http://www.domain.com/media/video/videos/expressInstall.swf',
flashvars,
params,
attributes);
</script>

Any thoughts as to what might be causing the error? Is there something particular that needs to be done for RTMP MP3 streaming?

Thanks.

DS

Hi Dave,

This is Ethan from LongTail here to help you.

Can you link me to where you are running our player on your site so I can take a look at your implementation so I can better help you?

Please email me directly at ethan [at] longtailvideo [dot] com to follow up if you have any other questions, thank you.

Best Regards,
-Ethan

The type would be rtmp, NOT sound, for MP3 files.

The quality flashvar has been deprecated.

See: http://developer.longtailvideo.com/trac/wiki/FlashVars#Behaviour

Thanks trixie, but the when I configure with "rtmp" I get a "stream not found" error.

One thing that I've found is the files on an rtmp server are CASE SENSITIVE (sorry for the yell). I had files that were 010.MP3 on the server and was trying to reference them with 010.mp3. It won't find them unless the same case.