Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to let DJ's take over my stream

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Pendaz



Joined: 19 May 2011
Posts: 5
Location: Copenhagen, Denmark

PostPosted: Thu May 19, 2011 10:32 pm    Post subject: How to let DJ's take over my stream Reply with quote

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 Wink


Thanks in advance


-Pendaz
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 20, 2011 1:17 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Pendaz



Joined: 19 May 2011
Posts: 5
Location: Copenhagen, Denmark

PostPosted: Fri May 20, 2011 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat May 21, 2011 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Pendaz



Joined: 19 May 2011
Posts: 5
Location: Copenhagen, Denmark

PostPosted: Sat May 21, 2011 9:30 am    Post subject: Reply with quote

Thats how i understand it too, but it doesnt happen?
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat May 21, 2011 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Octave



Joined: 31 Oct 2010
Posts: 4
Location: Düsseldorf - Germany

PostPosted: Mon May 23, 2011 8:29 pm    Post subject: Reply with quote

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.

Question 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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber