Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Code, Code, Code Your Sound / And You'll Make It Stream...

October 13, 2000

Stream It, Dano

Doing this complicated two-step lets you do something very important: you can now stream RealMedia files using a standard HTTP server. If your RealAudio files are encoded to a single rate, and that rate is less than or equal to the data rate that a viewer's Internet connection can handle, the audio or video will actually stream automatically, without the necessity for you to buy, license, download, or configure a RealAudio/RealMedia server.

This streaming is limited in flexibility, but for most sites that aren't solely music- or video-oriented, this is a fantastic feature. It means you can simply "drop in" RealAudio files easily, without having to worry about a separate server, and without your visitors having to wait until the entire file downloads before they can hear or see your content. Be warned, however, that not using a direct RealMedia server means that a clever visitor will be able to bootleg your file by grabbing the content file out of their browser cache, or in numerous other ways. Basically, your content is not secure at all if you're not using a RealMedia server, so don't post high-quality full-length RealAudio samples of your newest hit song if you don't want them spread all over the world by tomorrow morning.

Now, if your RealAudio files happen to be encoded to a higher rate than the connection can handle (such as 44.1 KHz stereo audio attempting to go over a 28.8 Kbps connection), and if your viewer has a newer RealPlayer with the PerfectPlay option checked, the file will be downloaded to their machine, then played automatically (assuming you've also enabled PerfectPlay when encoding it). Or they can right-click on the link, and "save as" to grab it.

Decoding Codecs

RealNetworks has a technical document that contains an interesting section called Choosing RealAudio Codecs. It shows charts detailing exactly what frequency response you will get from picking one of the almost three dozen different codecs that they use. To put it mildly, it's quite a complex decision, which is why RealNetworks — and you — would love for everyone to download their new G2 player. G2 can update itself automatically and play any RealMedia content ever created, and using RealProducer, you can have it automatically adjust itself to the user's available bandwidth using their SureStream technology.

Unfortunately not everyone lives on the cutting edge of technology, so if you want people with older players to hear your content instead of clicking off to another site in disgust, you have to give them something they can deal with (assuming they have a RealAudio player at all, which most people actually do).

The WebDeveloper.com Secret Guide to RealAudio
The WebDeveloper.com Secret Guide to RealAudio
Choosing the Right Codec


Up to => Home / Multimedia / Stream




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers