I currently have a radio station broadcasting via ShoutCast on a third party ShoutCast server. I was wondering if there was a way to have OSM/MediaFront play this stream? To stream my station in WinAmp or VLC, I can just enter the URL of 184.154.185.170:8230. Can this be done in OSM?

Thanks!

Comments

Oshun’s picture

I wish I could help, but this is something I am interested in - in the near future as well. I would like to stream on my site - without going through a third party.

EnjoyLife’s picture

Gr8britton, I just tried all of your links in 2.x and had no success. Each stream said "Cannot play media: unknown." I don't believe streaming is a supported feature at this time (other than for Youtube and Vimeo).

henry930’s picture

What exactly I want.

Ketto’s picture

No solution yet?

I've been trying to set up my own shoutcast stream with no success. I found on another forum that you should address you shoutcast by placing a semicolon at the end of the url on html5. The following code works for me:

< audio autoplay="autoplay" controls="controls" src="http://stream-ip:port/;" >< /audio>

Tested in Chrome on my pc, ipad and android.

I am new to mediafront and have not yet learned how to create a custom provider for it (Any tips on where to learn?). I suspect this should be the solution as I noticed the mediafront is not even printing an audio/video tag when I feed it with my shoutcast url. He probably doesn't know how to deal with it.

Anonymous’s picture

Ketto,
Are you saying you just put that code in the source of the node?

Thanks,
Gr8Britton

travist’s picture

Issue tags: +Release blocker

So, this would require something additional when setting up the field, which is basically to force the player the media player tries to play the file with. Let me work on that this week and see what I come up with....

Travis.

travist’s picture

Title: Stream My ShoutCast Radio Station » Live Streaming Support
Jeffrey C.’s picture

Don't know if this is related, the server where the remote video I'm trying to play is located does not allow U.S. IP addresses. So I'm wondering if MediaFront streams video to Drupal first then streams it to client side? Is it possible to simply let user stream the video directly?

Anonymous’s picture

Just following up as it has been awhile. Any word on whether this will be added in the near future?

Thanks!

travist’s picture

Status: Active » Fixed

Live streaming has been added in the form of RTMP support. There is a new type when you add a textfield that is called "Stream" in the MediaFront settings of that field. You can put the RTMP stream in this field which should allow for live streaming support.

Anonymous’s picture

Just to make sure, this will support an http URL for a shoutcast server, like http://184.154.185.170:8230?

travist’s picture

That has been untested, but it is worth trying out where you create a text field, give it a stream mediafront type, and then paste in that address when creating your content. Let me know if it works for you. If not, then I can add it to the list of things to look at.

Thanks,

Travis.

Anonymous’s picture

no, it did not. Everything seemed to setup properly, but the stream never loads. :-(

Thanks!

Anonymous’s picture

How does the RTMP work, then?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

f0ru0l0rd’s picture

I know this is closed and old but google comes here.
The solution is closer than you believe. Notice the code that Ketto gave? It includes one VERY important piece that I am sure you are missing, as I was for a long time as well.
the " /; " When you go to that "station's" ip, you are actually looking at the server log. To play the audio protocol, the browser must also have the semicolon after the forwardslash.

Furthermore, the HTML5 protocol is browser dependent for what types of playback occurs. Not all browsers play shoutcast or icecast. HOWEVER, all mobile default browsers for both Android and iPhone/Pad WILL work natively.

I hope this helps someone.
Good luck!

Vemma-1’s picture

Wondering if this will ever work. Im testing now w/ a simple PLS & M3U files and its not working. Any ideas on how? Thx.

gnaag’s picture

Issue summary: View changes

Just extract single links from m3u.

lquessenberry’s picture

I have extracted a few links here and there, but I have only been able to get a few links working. Can someone explain to me how to get this link to work?

http://tunein.streamguys1.com/cnn/

I think it is IceCast, but it doesn't play for me. The only thing I have been able to successfully play is any path that includes a file extension with .mp3 on it. That goes for files and shoutcast streams.