Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Icecast re-streamed in RTMP by Wowza


Dear JwPlayer,

I have to play a MP3 live streaming generated by Icecast and re-streamed by Wowza in RTMP (to avoid the memory leaks in flash mode). I have this url (in the style of 'old' version 5 that works well):

bc.. file: "http://109.123.116.202:8030/stream.mp3",
streamer: "rtmp://5.63.148.44:1935/sc"



For version 6 it would be so:

bc.. rtmp://5.63.148.44:1935/sc/mp3:http://109.123.116.202:8030/stream.mp3



But.. this not works!
Where is the error? In the first release of the version 6 it worked well!

Thank you in advance and sorry for my poor English!

Massimo

5 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Why not just use http://109.123.116.202:8030/stream.mp3 as the file?

JW Player

User  
0 rated :

Hello Ethan,

thank you for your reply!

The only reason is to avoid the memory leaks in flash mode!

Ethan Feldman

JW Player Support Agent  
0 rated :

How are you able to run a streamer as rtmp but the file is http for html5, that doesn’t make sense?

JW Player

User  
0 rated :

Yes, it's the 'trick' of Wowza to play an 'http' Icecast (or Shoutcast) stream in flash mode without memory leaks (and avoiding the browser crash).

With JW5 it works well (main html5 mode and fallback in flash without memory leaks):

bc.. modes: [
{ type: "html5",
config: {
file: "http://109.123.116.202:8030/stream.mp3",
provider: "sound"
}
},
{ type: "flash",
src: "player/player.swf",
config: {
file: "http://109.123.116.202:8030/stream.mp3",
streamer: "rtmp://5.63.148.44:1935/sc",
provider: "rtmp"
}
}
]



With JW6 I tested this way, but there is the problem of rtmp:

bc.. sources: [{
file: "rtmp://5.63.148.44:1935/sc/mp3:http://109.123.116.202:8030/stream.mp3"
},{
file: "http://109.123.116.202:8030/stream.mp3"
}]
}



Thank you for your attention!

Ethan Feldman

JW Player Support Agent  
0 rated :

I guess what I don’t understand is how are you running http relative to the rtmp?

This question has received the maximum number of answers.