steamcast authentication help

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
saldasyl
Posts: 5
Joined: Sat Oct 28, 2006 10:58 am

steamcast authentication help

Post by saldasyl » Sat Oct 28, 2006 11:08 am

im using steamcast and have set it up to use authentication . but it doesnt come up with any....
heres my cfg

; 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.

; 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=/live.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=Encoder

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

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

; 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 choke 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. Steamcast waits 20 seconds into a connect before
; limiting, the choke takes affect after a source goes 10% over the limit.
; 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

; SourceNameFormat: Provides a new Stream name either derived from the source or completely
; replacing the sources option. This title is used in client media players and publishing
; outlets. You can use %s anywhere in the title to have the encoder's option included into
; the final stream name.
; SourceNameFormat=%s powered by Steamcast

; 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=Yes

; 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=123.45.67.89

; 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=Yes

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

; SourceListenerTimer: [*0]: Allows you to specify the amount of time a client can stay connected
; in minutes. A value of 0 disables this feature and allows clients to stay connected for
; an unlimited amount of time.
; SourceListenerTimer=0





And auth cfg

; The third entry is the Password which the user will use to
; authenticate. This is also case-sensitive and cannot contain
; the reserved character simicolon (:).

; Additional entries should be placed on new lines.

; An example entry:
/live.mp3:channel:channel1

/live.mp3:carlos:carlos




what am i doing wrong why is not asking for authentication???

thanks.

User avatar
Jay
Will work for food (Administrator)
Posts: 2857
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Oct 29, 2006 1:02 am

You need to uncomment SourceAuth

Example change:

Code: Select all

; 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=Yes 
to

Code: Select all

; 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=Yes
- Jay

saldasyl
Posts: 5
Joined: Sat Oct 28, 2006 10:58 am

Post by saldasyl » Sun Oct 29, 2006 7:20 am

i have one slight problem

i have set user max = 200 but only 5 people can connect at once
; 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=200

Lane
Posts: 152
Joined: Mon May 09, 2005 4:16 pm

Post by Lane » Sun Oct 29, 2006 8:28 am

Each mount has it's own maximum # of users.

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

Change to

SourceUserMax=20

or whatever number you want.

The other setting is a maximum for all mounts combined.

Post Reply