| View previous topic :: View next topic |
| Author |
Message |
Pendaz

Joined: 19 May 2011 Posts: 5 Location: Copenhagen, Denmark
|
Posted: Thu May 19, 2011 10:32 pm Post subject: How to let DJ's take over my stream |
|
|
Hi all, i have a little experience setting up shoutcast servers but im pretty new to icecast... I've been told its capable of doing what i want but i can't seem to work it out
My setup consists of:
Windows 7 Enterprise server
Icecast 2.3.2
ezstream-0.5.6
Stream URL : http://pendaz.ftpaccess.cc:8000
So far i have ezstream sending to my icecast server from a playlist i've made, this works perfectly, what i would like to do is have the ability to grant dj's access via a username/password during certain times.
If theres any information / configs / etc i should provide please let me know, im on deadline with this so i'll be watching this thread like a hawk
Thanks in advance
-Pendaz |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 20, 2011 1:17 am Post subject: |
|
|
you can have a separate mountpoint fallback-override the ezstream mountpoint and that new mountpoint can be DJ specific having a specific user/pass mount setting. The way won't enforce a time period unless you reload the xml with altered settings.
The alternative is to use the trunk or kh version with the authentication option stream_auth which will issue a url request to authenticate a source, operates like listener_add for listeners but applies to the source client authentication. A php script could then do the user/pass and time check.
karl. |
|
| Back to top |
|
 |
Pendaz

Joined: 19 May 2011 Posts: 5 Location: Copenhagen, Denmark
|
Posted: Fri May 20, 2011 10:16 am Post subject: |
|
|
| karlH wrote: |
you can have a separate mountpoint fallback-override the ezstream mountpoint and that new mountpoint can be DJ specific having a specific user/pass mount setting. The way won't enforce a time period unless you reload the xml with altered settings.
|
How can i achieve this?
Heres what i have in the mount sections of my icecast.xml:
| Code: |
<mount>
<mount-name>/bassfm.mp3</mount-name>
<username>bassfmsource</username>
<password>password</password>
<dump-file>/recordings/bassfm.mp3</dump-file>
<charset>ISO8859-1</charset>
<public>1</public>
<stream-name>Bass FM</stream-name>
<stream-description>Pure Electronic Bass Music</stream-description>
<stream-url>http://bass-fm.co.nr</stream-url>
<genre>Electronic Bass</genre>
<bitrate>192</bitrate>
<hidden>0</hidden>
<mp3-metadata-interval>4096</mp3-metadata-interval>
</mount>
<mount>
<mount-name>/livestream.mp3</mount-name>
<username>bassfmlive</username>
<password>password</password>
<dump-file>/recordings/livestream.mp3</dump-file>
<fallback-mount>/bassfm.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<charset>ISO8859-1</charset>
<public>1</public>
<stream-name>Bass FM | Live Stream</stream-name>
<stream-description>Pure Electronic Bass Music | LIVE</stream-description>
<stream-url>http://bass-fm.co.nr</stream-url>
<genre>Electronic Bass</genre>
<bitrate>192</bitrate>
<hidden>0</hidden>
<mp3-metadata-interval>4096</mp3-metadata-interval>
</mount> |
ezstream connects, but i am unable to take over the stream from my external DJ app (traktor / virtual dj)
Thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat May 21, 2011 1:21 am Post subject: |
|
|
I assume you have ezstream feeding /bassfm.mp3 and traktor feeding /livestream.mp3
When /livestream.mp3 connects, then listeners on /bassfm.mp3 will be moved to it and dropped back to bassfm.mp3 when it stops. The other settings you have there have no bearing on the fallback arrangement.
karl. |
|
| Back to top |
|
 |
Pendaz

Joined: 19 May 2011 Posts: 5 Location: Copenhagen, Denmark
|
Posted: Sat May 21, 2011 9:30 am Post subject: |
|
|
| Thats how i understand it too, but it doesnt happen? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat May 21, 2011 1:55 pm Post subject: |
|
|
Either the icecast has not taken the settings you have posted or the stream is not active at the time of the fallback. Obviously without the log file contents I can only speculate on why it would not be doing it. Email the log (level 4) and xml and I'll see what is actually happening.
karl. |
|
| Back to top |
|
 |
Octave
Joined: 31 Oct 2010 Posts: 4 Location: Düsseldorf - Germany
|
Posted: Mon May 23, 2011 8:29 pm Post subject: |
|
|
I hat the same problem untill I changed the bitrate so ezstream and the dj now are both on 128kb/s stereo. Seems the fallback and the livestream have to be on the same bitrate otherwise some player don't like it.
if your dj runs in shoutcast mode..... in your config I don't see a shoutcast mountpoint. _________________ Running : Icecast, Sc_Trans, SAM
Born 1961 in Rotterdam  |
|
| Back to top |
|
 |
|