Link to home
Start Free TrialLog in
Avatar of desbiens
desbiens

asked on

Broadcasting live audio to a Java applet

I'm working on a project for satelittes
communications at the Sherbrooke University (see
http://www.dmi.usherb.ca/~barbeau/Radio/index.html)
and i want to know something.
I want to broadcast some audio stream live (.au
format from the "/dev/audio" of a PC, whit SB
card, under Linux) on Internet with my own server,
so i'm looking for the better way to do this.

There is the context:

            microphone on a PC
                  |
                    |
      My server (broadcasting not only audio)
                  |
                  |
                Internet
                  |
                  |
      The client (could be on a different plateform)
                  |
                  |
                speakers      


Maybe there is a way to do this whit JAVA??? Some Java fans
talking about a continus.audio.data.stream class in the Sun.audio package. A guy from Intet Customer Support had
send me this last week:

         "The current release of Java Media Framework
        (JMF)does not support real-time streaming file
       types."

, so we could not use the JMK. Maybe there's a other
way????
 
On the orther hand, if i could not take Java, it certainly
exist a ohter posibility.
For now, my Server not broadcast audio stream to the client. The client is a Java applet and he receive some information
about the satellites position.
May be, if the client is the RealAudio Player,
the Player can read the audio Stream from
a port and put it to the speaker???
And make a relation
between my Java client and the RealAudioPlayer????
I'm talking about RealAudio Player, maybe there is something better????

                  Thanks

                  Jean-Marc Desbiens
                  DESBIENS@DMI.USHERB.CA
ASKER CERTIFIED SOLUTION
Avatar of jpk041897
jpk041897

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of desbiens
desbiens

ASKER

It's looking good, but I dont have experience in Java
programming, so it's difficult for me to make a good evaluation
of the Java solution. It's already the best answer i'd received.

I'm realy interesseted to know a little bit more about the
solution 1). Is it possible to find to example about this?

For the solution 2, RealAudio is the easy way to deal with the
countinus audio stream, but it's a little bit expesive:
 
>----------RealAudio Server ----------
>- Serves 20 simultaneous end user streams
>- License: $1421.25
>- Annual Support & Upgrades: $746.25
>- Total: $2167.50
>----------RealAudio Server ----------
>- Serves 50 simultaneous end user streams
>- License: $3746.25
>- Annual Support & Upgrades: $746.25
>- Total: $4867.50

Intel is probably suppose to give a new version of the Java Media
FrameWork for next septembre. May be it's gona support the real-time continus streaming??

                              Thanks
                              Jean-Marc Desbiens
                              DESBIENS@DMI.USHERB.CA

Regarding JMF, they state it will be supported in a future version, that means it might or might not be supported in ther next version.


Regarding UDP (solution 1): Your comment starts going out of the scope of your original question (which can confuse a later user accesing this for info) so why don't you e-mail me at:

jkelleghan@usa.net

and we can carry on the discussion frome there. (that also goes for any future interested party).