(I think I finally got this in the right place...)
Hi:
I'm attempting to use Fluid to do some multicasting to the Internet 2 Abilene network...
I'm hoping that a package called MIM will allow me to use MPG123 to capture
multicast audio feeds.
I've got Fluid up and running in 'InterCastServer' mode, and that works quite well.
I'm assuming a few things with the Multicast Server mode...i'm not quite familar with
the Java Multicast classes, so bear with me. ;-)
Fluid will use the Java classes to do the multicast dirty-work, like ICMP joins, etc.
In this case, the server is also a member of the group, right?
I'm now trying to get the multicast server to run, and I get the following errors.
If anybody has any suggestions, I'm all ears. Oh, this is on FreeBSD 4.0 running JDK
1.1.18 directly from FreeBSD, NOT the FreeBSD ports collection stuff...I also get the
same errors on a Solaris 2.7 box with JDK 1.1.16, both boxes will run the InterCastServer
with no problems.
Any input is appreciated. Thanks!
bash-2.03$ java Fluid conf/fluid.config
Added: /home/hartzell/test.mp3
<< Carrie Rehkopf, violin - Tchaikovsky Violin Concerto, 3
MultiCastServer configuration failed:
java.net.SocketException: Can't assign requested address
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:145)
at servers.MultiCastServer.connect(MultiCastServer.java:96)
at servers.MultiCastServer.configure(MultiCastServer.java:62)
at common.Configuration.notifyConfigurables(Configuration.java:72)
at Fluid.<init>(Fluid.java:37)
at Fluid.main(Fluid.java:60)
bash-2.03$
My config is as follows:
bash-2.03$ cat fluid.config
# -*> Fluid Streaming Server <*-
#
# This is the configuration file
# for the server. The server was
# written by Lars Samuelsson
# (C) 1998, 1999, 2000 Subside
#
# The server is Spreadware:
# If you like it, spread it!
#
# This option sets the server mode
# and handles the way the information
# is outputted to the client
# --- Stream specific options ---
# The name of file containing the playlist
playliststream.playlist = conf/playlist
# The behaviour when the end of the
# playlist has been reached
playliststream.loop = true
# The offset number of the first media to
# play from the playlist
playliststream.first = 0
# How the next media to be played should
# be picked, randomly or in a sequence
playliststream.random = false
# A flag for setting whether you want to
# see descriptions of the currently playing
# media file printed to standard output
playliststream.descriptions = true
# The frame buffer size for MP3InputStream
# This number indicates how many frames
# should be buffered before sending a data
# packet (if you have bad connections a
# smaller value will shorten cuts in the
# recieved stream, otherwise a value that
# would yield a paket size of about 4k
# is preferred)
mp3inputstream.buffersize = 6
bash-2.03$
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=38301
Browser: Mozilla/4.72 [en] (WinNT; U)
(I think I finally got this in the right place...)
Hi:
I'm attempting to use Fluid to do some multicasting to the Internet 2 Abilene network...
I'm hoping that a package called MIM will allow me to use MPG123 to capture
multicast audio feeds.
I've got Fluid up and running in 'InterCastServer' mode, and that works quite well.
I'm assuming a few things with the Multicast Server mode...i'm not quite familar with
the Java Multicast classes, so bear with me. ;-)
Fluid will use the Java classes to do the multicast dirty-work, like ICMP joins, etc.
In this case, the server is also a member of the group, right?
I'm now trying to get the multicast server to run, and I get the following errors.
If anybody has any suggestions, I'm all ears. Oh, this is on FreeBSD 4.0 running JDK
1.1.18 directly from FreeBSD, NOT the FreeBSD ports collection stuff...I also get the
same errors on a Solaris 2.7 box with JDK 1.1.16, both boxes will run the InterCastServer
with no problems.
Any input is appreciated. Thanks!
bash-2.03$ java Fluid conf/fluid.config
Added: /home/hartzell/test.mp3
<< Carrie Rehkopf, violin - Tchaikovsky Violin Concerto, 3
MultiCastServer configuration failed:
java.net.SocketException: Can't assign requested address
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:145)
at servers.MultiCastServer.connect(MultiCastServer.java:96)
at servers.MultiCastServer.configure(MultiCastServer.java:62)
at common.Configuration.notifyConfigurables(Configuration.java:72)
at Fluid.<init>(Fluid.java:37)
at Fluid.main(Fluid.java:60)
bash-2.03$
My config is as follows:
bash-2.03$ cat fluid.config
# -*> Fluid Streaming Server <*-
#
# This is the configuration file
# for the server. The server was
# written by Lars Samuelsson
# (C) 1998, 1999, 2000 Subside
#
# The server is Spreadware:
# If you like it, spread it!
#
# This option sets the server mode
# and handles the way the information
# is outputted to the client
#fluid.server = InterCastServer
fluid.server = MultiCastServer
# The stream specifies what class to
# use for fetching data
fluid.stream = PlaylistStream
# --- Server specific options ---
# The port on which the InterCastServer
# will listen for connections
intercastserver.port = 4711
multicastserver.group = 238.1.2.3
multicastserver.udpport = 10000
multicastserver.ttl = 3
# The mime type of the media
# intercastserver.mime = audio/mpeg
# The file containing the connection
# rules
intercastserver.rule = conf/hosts.rules
# --- Stream specific options ---
# The name of file containing the playlist
playliststream.playlist = conf/playlist
# The behaviour when the end of the
# playlist has been reached
playliststream.loop = true
# The offset number of the first media to
# play from the playlist
playliststream.first = 0
# How the next media to be played should
# be picked, randomly or in a sequence
playliststream.random = false
# A flag for setting whether you want to
# see descriptions of the currently playing
# media file printed to standard output
playliststream.descriptions = true
# The frame buffer size for MP3InputStream
# This number indicates how many frames
# should be buffered before sending a data
# packet (if you have bad connections a
# smaller value will shorten cuts in the
# recieved stream, otherwise a value that
# would yield a paket size of about 4k
# is preferred)
mp3inputstream.buffersize = 6
bash-2.03$