Reputation: 4740
I am trying to build a website for an internet radio station. I would like to incorporate a feature that allows visitors to play the live audio stream on the website itself.
What technologies should I be looking at to get started? How is this commonly done? Is there a method that is often considered the best for live streaming?
Upvotes: 9
Views: 4318
Reputation: 2119
Flash is the most widely used for this, as evidenced by sites like NPR, and Bandcamp.
Java might also be a valid option if you are more of the programmer type.
Either way I recommend using the <object>
tag, not <embed>
or <applet>
For flash look at: http://www.alistapart.com/articles/flashsatay
For Java use something like:
<object width="" height=""
type="application/x-java-applet"
archive="containing.jar"
classid="java:package.applet.class">
</object>
If, however you want to run from a folder, not a jar archive the codebase
is added in as a <param />
not an attribute.
Upvotes: 0
Reputation: 946
Depending on the formats you stream to, you have a few options:
Upvotes: 2