I give up...:-( on Multi Mounts

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
User avatar
themixturemedia
Posts: 137
Joined: Fri Dec 10, 2004 2:42 pm
Location: Canada
Contact:

I give up...:-( on Multi Mounts

Post by themixturemedia »

Hi there Jay yeah I looked at the doc file that you told me to look I think I have it right here is what I got. I want to get rid of Icecast so I can stream Ogg and Mp3 on Steamcast but I have not freakin idea what I am doing wrong. When I try what I got it comes up with this error
"SourceUser has been defined before any SourceMount"
"SourcePass has been defined before any SourceMount"
"SourceUserMax" ""
"SourceIsSC" ""
and it crashes and the windows error system comes up and says that is has crashed and has to stop. I will post what I have with out the the passwords and if not you anyone please let me know were I have gone wrong.

; Steamcast Configuration File
; ================================
; This is the default Steamcast server configuration file, feel free to use
; it as a template for your server\\\'s configuration. All lines beginning with ;
; or blank are ignored by the server\\\'s configuration parser.

; Server Configuration
; ====================

; PortBase [*8000]: The port that Steamcast will listen for connections on, generally it is
; acceptable to just leave this at the default, change it if you use port
; 8000 and/or 8001 for some other server. Ports < 1024 are reserved, so try to
; stay above that.
PortBase=8000

; MaxUser: The maximum amount of streaming clients Steamcast should
; handle, this is a global setting for all multimedia connections. Set this
; to a smart number. Setting this too high could cause your network connection
; to be flooded and cause real problems for all end users. In 0.9.7 this configuration
; option became optional. Set this to set hard limits on max listener counts, otherwise
; cumulative SourceUserMax will be used to determine the overall UserMax.
MaxUser=30

; IPMaxUser [*0]: The maximum amount of streaming clients Steamcast should
; handle per IP, this is a global setting for all multimedia connections.
; A setting of 0 disables this feature.
IPMaxUser=2

; LogFile [None|*steamcast.log]: The location you would like Steamcast to store
; it\\\'s log file, setting this to \\\'None\\\' or blank disables this feature.
LogFile=steamcast.log

; ScreenLog [*Yes|No]: Setting this to Yes will allow steamcast to output log information
; the the screen in CLI environments.
ScreenLog=Yes

; RealtimeLog [*Yes|No]: Setting this to Yes will allow steamcast to output Realtime statistical
; information to the screen in CLI environments.
RealtimeLog=Yes

; YPLog [*Yes|No]: Enable the logging of YP Touches. This setting has no effect on
; YP Errors, or YP Add or YP Removes. It will only hide logging of Successful touches
; when set to No.
YPLog=Yes

; PidFile [None|*steamcast.pid]: The file location you would like Steamcast to store
; it\\\'s PID or Process ID, setting this to \\\'None\\\' or blank disables this feature.
; Regardless of this setting, Process ID\\\'s will be stored in the Log on each startup.
PidFile=steamcast.pid

; NameLookups [Yes|*No]: Setting NameLookup to Yes will have Steamcast
; do a reverse dns lookup on each connection made to the server. High Traffic servers
; should leave this setting disabled until I can come up with a better threading method.
NameLookups=No

; ClientTimeout [*30]: Number of seconds a listener/viewer should stay connected while no source
; exists for thier mount.
ClientTimeout=30

; OnDemand Configuration
; ======================

; The directories you would like Steamcast to share
; OnDemandDir=C:\\\\My Music

; User Configuration
; ==================

; AdminUser & Admin Pass: This is the credentials that allow full control of the server remotely
; so be very careful in determining what to put here. Essentially with these settings
; a user would be able to connect to the server using a CNTRL application and use
; the server as if they are sitting in front of it.
AdminUser=

AdminPass=

; Source Configuration
; ====================
; Each source that you wish to allow on the server needs to be configured
; here first. The parser will read strait down the file so if you have
; multiple source mounts and you declare a new mount before finishing
; configuration of another, then those configurations after the new
; declaration will go to the new mount.

; Stream 1
; SourceMount: This is the mount you would like to create, if you set
; this to /ghey.mp3 then you would be able to access this mount by
; going to http://localhost:8000/ghey.mp3 It is critical that you
; make sure to include the slash at the beginning.
;SourceMount=/stream.mp3

; SourceBackup: This is the mount you would like listeners directed to in the
; event that this source becomes unavailable. These two mounts must be completely
; identical bitstreams in order for this feature to work properly. This includes
; MetaData in the event that you relay from multiple servers!
; SourceBackup=/live_back.mp3

; SourceUser: The last SourceMount declared will require this Username
; in order to become a source for this mount. Note: if you are running
; this mount in shoutcast compatibility mode, this is not required. However
; it\\\'s best to set this anyhow as it allows your encoder users to administrate
; their mounts from a CNTRL app or web panel.
SourceUser=source

; SourcePass: This is the last Source Mount\\\'s password, this is required
; for all connecting encoders. Mounts without passwords are invalid.
SourcePass=

; SourceUserMax [*5]: This particular mount\\\'s UserMax, if all of your source
; UserMaxes combined exceed the global UserMax then the UserMax takes presedence.
SourceUserMax=30

; SourceRelay: This particular mount will pull data from the location specified below.
; If you publish both servers on yp.shoutcast.com and wish that they cluster at that
; yp server then enter your relay url without http:// or trailing path or slashes
; like the example below.
; SourceRelay=audio.str3am.com:4080

; SourceBitrateLimit: Set this to have Steamcast kick sources that exceed a
; certain average data rate. This value is based on actual data transfer and not any particular
; format headers. This is a great way to control users in community or hosting
; environments. Default is no limits. Be careful with this, sometimes there can be
; transfer spikes that can set this off.
; SourceAvgBitrateLimit=128

; SourceIsSC [*Yes|No]: Setting this to Yes will allow source applications
; which do not have a username capability to use the last source
; declared anyway.
SourceIsSC=Yes

; SourceIsDefault [*Yes|No]: Setting this to Yes will make this particular
; mount available globally. There can be only one global mount. This
; is also the only mount that will be able to list at shoutcast.com
SourceIsDefault=No

; SourceIP: Setting this to a dotted IP address will make this particular
; mount available at the root of steamcast (much like SHOUTcast) for the IP
; specified here. Note: You must own the IP you place here. Inaccurate
; settings will have no effect. This setting essentially will allow you to
; list multiple source points in the SHOUTcast directory. It is not neccessary
; to set this setting if you only own one IP. Setting this for any Source will
; disable the SourceIsDefault flag on any mount.
; SourceIP=192.168.0.1


; SourceAuth: [Yes|*No]: Allows you to setup HTTP Basic Authorization on this
; mount point. All Authentication is currently file based. Please see steamauth.txt
; SourceAuth overrides the public bit and will force all SourceAuth\\\'d streams to be
; private.
; SourceAuth=No

; SourceAuthMax: [*0]: Allows you to set the maximum amount of connections per authenticated
; user. A setting of 0 is interpreted as unlimited.
; SourceAuthMax=0

; SourceBuffUtil [*100]: This value allows you to control the start position
; of connecting clients within the buffer. 0 would effectively set a new connecting
; client to the write point of the buffer giving a more real-time like experience
; although due to the way the internet really works it can never be truely real-time.
; Setting this to 100 would start them all the way at the back of the buffer which
; gives most clients no buffer wait times. It is highly recommended that you not mess
; with this parameter except in instances where the bitrate of the stream is extremely
; low and you require an interactive experience from the users connected to the server.
; (i.e. A talk show or other low bitrate interactive live program) Most other broadcasts
; SHOULD NOT CHANGE THIS SETTING!!! Doing so will make the connecting users feel like
; they are on dialup in 1996 listening to Real Player. :)
SourceBuffUtil=100

;Stream 2
; SourceMount: This is the mount you would like to create, if you set
; this to /ghey.mp3 then you would be able to access this mount by
; going to http://localhost:8000/ghey.mp3 It is critical that you
; make sure to include the slash at the beginning.
SourceMount=/stream2.mp3

; SourceBackup: This is the mount you would like listeners directed to in the
; event that this source becomes unavailable. These two mounts must be completely
; identical bitstreams in order for this feature to work properly. This includes
; MetaData in the event that you relay from multiple servers!
; SourceBackup=/live_back.mp3

; SourceUser: The last SourceMount declared will require this Username
; in order to become a source for this mount. Note: if you are running
; this mount in shoutcast compatibility mode, this is not required. However
; it\\\'s best to set this anyhow as it allows your encoder users to administrate
; their mounts from a CNTRL app or web panel.
SourceUser=source

; SourcePass: This is the last Source Mount\\\'s password, this is required
; for all connecting encoders. Mounts without passwords are invalid.
SourcePass=

; SourceUserMax [*5]: This particular mount\\\'s UserMax, if all of your source
; UserMaxes combined exceed the global UserMax then the UserMax takes presedence.
SourceUserMax=30

; SourceRelay: This particular mount will pull data from the location specified below.
; If you publish both servers on yp.shoutcast.com and wish that they cluster at that
; yp server then enter your relay url without http:// or trailing path or slashes
; like the example below.
; SourceRelay=audio.str3am.com:4080

; SourceBitrateLimit: Set this to have Steamcast kick sources that exceed a
; certain average data rate. This value is based on actual data transfer and not any particular
; format headers. This is a great way to control users in community or hosting
; environments. Default is no limits. Be careful with this, sometimes there can be
; transfer spikes that can set this off.
; SourceAvgBitrateLimit=128

; SourceIsSC [*Yes|No]: Setting this to Yes will allow source applications
; which do not have a username capability to use the last source
; declared anyway.
SourceIsSC=Yes

; SourceIsDefault [*Yes|No]: Setting this to Yes will make this particular
; mount available globally. There can be only one global mount. This
; is also the only mount that will be able to list at shoutcast.com
SourceIsDefault=

; SourceIP: Setting this to a dotted IP address will make this particular
; mount available at the root of steamcast (much like SHOUTcast) for the IP
; specified here. Note: You must own the IP you place here. Inaccurate
; settings will have no effect. This setting essentially will allow you to
; list multiple source points in the SHOUTcast directory. It is not neccessary
; to set this setting if you only own one IP. Setting this for any Source will
; disable the SourceIsDefault flag on any mount.
; SourceIP=192.168.0.1

; SourceAuth: [Yes|*No]: Allows you to setup HTTP Basic Authorization on this
; mount point. All Authentication is currently file based. Please see steamauth.txt
; SourceAuth overrides the public bit and will force all SourceAuth\\\'d streams to be
; private.
; SourceAuth=No

; SourceAuthMax: [*0]: Allows you to set the maximum amount of connections per authenticated
; user. A setting of 0 is interpreted as unlimited.
; SourceAuthMax=0

; SourceBuffUtil [*100]: This value allows you to control the start position
; of connecting clients within the buffer. 0 would effectively set a new connecting
; client to the write point of the buffer giving a more real-time like experience
; although due to the way the internet really works it can never be truely real-time.
; Setting this to 100 would start them all the way at the back of the buffer which
; gives most clients no buffer wait times. It is highly recommended that you not mess
; with this parameter except in instances where the bitrate of the stream is extremely
; low and you require an interactive experience from the users connected to the server.
; (i.e. A talk show or other low bitrate interactive live program) Most other broadcasts
; SHOULD NOT CHANGE THIS SETTING!!! Doing so will make the connecting users feel like
; they are on dialup in 1996 listening to Real Player. :)
SourceBuffUtil=100

;End Of Streams

; Directory Configuration
; =======================
Directory=http://www.steamcast.com/sbin/yp.php
Directory=http://dir.xiph.org/cgi-bin/yp-cgi

; Advanced Configuration
; ======================
; Do not mess with these configuration values unless you know what you are
; doing, typically these are setting which should not need adjusting. But
; are here for those users who feel they need more control over how the
; server behaves.

; ServIP [*Any]: This option allows you to control which interface or IP Steamcast
; should bind to. Setting this option will limit which IP clients can connect through.
; ANY (case sensitive) will allow steamcast to bind to all and any ip interfaces available.
; ServIP=ANY

; SrcIP [*Any]: SrcIP is the IP that Steamcast will listen for source connections. For
; instance setting this option to 127.0.0.1 will limit SHOUTcast source connection attempts
; to only from the the machine steamcast resides on. ANY (case sensitive) will allow
; steamcast to bind to all and any ip interfaces available.
; SrcIP=ANY
The Mixture Media Radio: :twisted:
The best on-line music from the 60's,70's,80's,90's and today. Streaming at 64kbps/48khz (MP3) and 32kbps/44khz (Ogg) 24 hours a day 7 days a week. With great sound and even better music.
User avatar
themixturemedia
Posts: 137
Joined: Fri Dec 10, 2004 2:42 pm
Location: Canada
Contact:

Got One To Work

Post by themixturemedia »

Hey there Jay got the 2nd stream to work but the first one says Source Login Invalid and it still comes up with the errors at the first any ideas please.
The Mixture Media Radio: :twisted:
The best on-line music from the 60's,70's,80's,90's and today. Streaming at 64kbps/48khz (MP3) and 32kbps/44khz (Ogg) 24 hours a day 7 days a week. With great sound and even better music.
User avatar
themixturemedia
Posts: 137
Joined: Fri Dec 10, 2004 2:42 pm
Location: Canada
Contact:

Got it to work

Post by themixturemedia »

Hey there Jay got it to work hehehehe freakin right on :-). Hey Jay sorry about before works great thanks :twisted:
The Mixture Media Radio: :twisted:
The best on-line music from the 60's,70's,80's,90's and today. Streaming at 64kbps/48khz (MP3) and 32kbps/44khz (Ogg) 24 hours a day 7 days a week. With great sound and even better music.
worldofmanda
Posts: 7
Joined: Fri Apr 14, 2006 1:37 pm

hi i'm stuck

Post by worldofmanda »

hi please help me to do the settings also. please let me know what changes you made to the configuration file and what else to do.

i am trying to stream to Streamcast, Shoutcast and Icecast.

thanks
Post Reply