Solved

Streaming MP3s from Helix server to Flash player

Posted on 2004-04-26
8
1,496 Views
Last Modified: 2013-11-18
Basically, I have a Flash player that plays MP3s. I'd like to leverage the streaming capabilities of the Helix server to stream MP3s to this Flash player I've created.

My question is:

--Can Helix stream MP3s?
--Can this streamed MP3 be used sans RTSP or RAM file?
--If not, is there any suggestion for how to use a Flash MP3 player to connect to an MP3 without simply pointing to the URL? And if so will it still be using the streaming capabilities of the Helix server?
--And, finally, has there been any success using the RAM file pointed to by a Flash player?

Any help would be appreciated.

Thanks.
0
Comment
Question by:stillmoretogain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 4

Expert Comment

by:daluu
ID: 10925595
Interesting project you would like to do. Something work checking out for me.

However, I doubt you could do much interfacing Flash with the Helix server, I think. One thing for sure, RAM is not supported by Flash (unless you have it as a link that simply opens the RAM file in a browser). Only MP3 extensions are supported for embedding/streaming within Flash. I've never done MP3 streaming on Helix server, but I think its only done by RTSP and Flash probably accepts HTTP only. You might want to look at Apple's Darwin Streaming Server (for Quicktime), which definitely does do MP3, as I've tried it and it uses RTSP.

Flash should stream MP3's loaded into it I think, but it was meant more as in static file retrieval I believe. What you can do for retrieving MP3's dynamically instead of having it preset in your Flash movie, is to either

1) have the location of the MP3 to be retrieved stored as a Flash variable that it can use to load the file. You can do this by setting a variable, called "source" for example, in the Flash file, then give the variable a value dynamically by appending to URL of Flash SWF file page like http://www.site.com/flashmovie.swf?source=myMP3.mp3 (assuming MP3 in same directory)

2) using ASP/PHP/JSP/etc. scripting to retrieve the MP3 file from a directory, database, or interface with Helix/Darwin/Windows Streaming server. with results imported into Flash movie (using the MX technologies)

In any case, how to load the MP3 file into flash, you'll have to look that up, as I haven't tried that myself yet.
0
 

Author Comment

by:stillmoretogain
ID: 10929924
Thanks, daluu. Looks like you've drawn the same conclusion I've come to: sometimes forging new ground can be a solo act. It is frustrating to see that no one has tried to do this, and that Helix and Flash have such a distant relationship.

In your first example, does it assume that the SWF and MP3 are in the same directory? If so, your suggestion is basically to bypass the Helix server and store the MP3, SWF, and conceivably the XML within the same directory on the same server. One of my goals is to keep all of my rich media (excluding SWF files) in one media repository, the Helix server.

I'll look more closely at your second suggestion and let you know how it works out. I have an ASP resource that might be able to shed some light on this suggestion.

Thanks again.
0
 
LVL 4

Expert Comment

by:daluu
ID: 10930365
well, you can set it to a different directory, whether by scripting or variable passing as in the first example, but you will have to add that part of the info in your Flash file. Otherwise, for the first example, you would have to precede the filename with the relative or absolute path to pass to the variable.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 4

Expert Comment

by:daluu
ID: 10930629
the flash documentation doesn't say it supports RTSP, so at present, you probably can't make much use of the Helix server except:

If you can set the Helix server to use HTTP also on some port, then you can try that. Flash might be able to load the streamed MP3 from Helix server if the protocol is HTTP.
0
 

Author Comment

by:stillmoretogain
ID: 10933135
I can set the RAM file to point to an HTTP using the Real server. The question that comes up is how will Flash know what to do with a RAM file. Odds are it won't. I'm not quite sure how to get around that though.
0
 
LVL 4

Expert Comment

by:daluu
ID: 10933767
you're right. flash won't recognize the RAM.

Humm, I've never worked with Helix server before, but I guess you still need to use a RAM file then huh? Do you still need a RAM file for RTSP? I know RAM is used for Real Audio/Video (over HTTP & RTSP), but I thought you can stream the MP3 simply with a URL like rtsp://site.com/file.mp3 (without use of RAM)

I know that's how Darwin Streaming server & Windows media works. but I haven't tried doing that using HTTP on them, only RTSP & MMS.

you might want to check into the Helix documentation on streaming MP3s and HTTP streaming (if you're not sure about it)
0
 
LVL 4

Accepted Solution

by:
daluu earned 125 total points
ID: 10933866
I checked the Helix server docs online. seems you're out of luck. HTTP is simply used as a pass thru. streaming is still done by RTSP, which flash doesn't support.
0
 

Author Comment

by:stillmoretogain
ID: 10933936
Yeah, just as I thought. Looks like we'll have to use it as a web server. Thanks for your help daluu.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
texting/mms service for clients 4 52
API v SOA 8 60
One Time Password for admin rights to install/update programs. 9 44
modify font on ninja form 1 17
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question