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 

Streaming to windows mobile devices

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



Joined: 06 Aug 2006
Posts: 5
Location: North-East, UK

PostPosted: Sun Jan 13, 2008 10:57 pm    Post subject: Streaming to windows mobile devices Reply with quote

Hi all,
Bit of a strange one here, I run a stream server for a local radio station, the stream comes in via ogg, I then transcode it using streamTranscoder to mp3, so I present either ogg or mp3 to listeners.
These two streams work perfectly on PCs, can open them in winamp or windows media player no problems, however I'm now trying to play them on my windows mobile 6 device, and having no luck at all.
I've tested and I can access other shoutcast/icecast streams to my windows mobile, so its definately something I'm doing wrong with my stream.

Can anyone advise what I'm doing wrong here if possible?

The stream I'm trying to listen to is:
http://mobile2:user2@arctic.thebmwz3.co.uk:8000/hartlepool-mp3

My config:
Code:
<icecast>
    <limits>
        <clients>30</clients>
        <sources>5</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>0</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
         <source-password>mypass</source-password>
        <relay-password>mypass</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>mypass</admin-password>
    </authentication>

     <hostname>arctic.thebmwz3.co.uk</hostname>

    <listen-socket>
        <port>8000</port>
    </listen-socket>


<mount>
        <mount-name>/hartlepool-live.ogg</mount-name>
        <password>mypass</password>
        <stream-name>Radio Hartlepool</stream-name>
        <stream-description>Radio Hartlepool</stream-description>
        <genre>Community Radio</genre>
        <dump-file>/home/audio/stream_save/radio_hartlepool.ogg</dump-file>
        <authentication type="url">
            <option name="listener_add" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="listener_remove" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="auth_header" value="icecast-auth-user: 1"/>
            <option name="timelimit_header" value="icecast-auth-timelimit:"/>
        </authentication>
</mount>

<mount>
        <mount-name>/stream.ogg</mount-name>
        <password>mypass</password>
        <stream-name>Radio Hartlepool</stream-name>
        <stream-description>Radio Hartlepool</stream-description>
        <genre>Community Radio</genre>
        <dump-file>/home/audio/stream_save/radio_hartlepool.ogg</dump-file>
        <fallback-mount>/internet_failure.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
        <stream-name>Radio Hartlepool</stream-name>
        <stream-description>Radio Hartlepool 107.5FM</stream-description>
        <authentication type="url">
            <option name="listener_add" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="listener_remove" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="auth_header" value="icecast-auth-user: 1"/>
            <option name="timelimit_header" value="icecast-auth-timelimit:"/>
        </authentication>
</mount>

## define the mp3 stream
<mount>
        <mount-name>/hartlepool-mp3</mount-name>
        <password>mypass</password>
        <stream-name>Radio Hartlepool</stream-name>
        <stream-description>Radio Hartlepool</stream-description>
        <genre>Community Radio</genre>
        <mp3-metadata-interval>4096</mp3-metadata-interval>
       <authentication type="url">
            <option name="listener_add" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="listener_remove" value="http://arctic.thebmwz3.co.uk/radio_hartlepool/listener_joined.php"/>
            <option name="auth_header" value="icecast-auth-user: 1"/>
            <option name="timelimit_header" value="icecast-auth-timelimit:"/>
        </authentication>
</mount>

    <fileserve>1</fileserve>

    <paths>
        <basedir>/usr/share/icecast2</basedir>
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
        <logsize>10000</logsize> <!-- Max size of a logfile -->
    </logging>

    <security>
        <chroot>0</chroot>
    </security>
</icecast>



Can anyone spot whats going on here pls??

Cheers!
_________________
Andy
http://www.thebmwz3.co.uk/
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: Mon Jan 14, 2008 4:04 am    Post subject: Reply with quote

Could it be because it requires authentication? The stream itself looks ok.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
andyb2000



Joined: 06 Aug 2006
Posts: 5
Location: North-East, UK

PostPosted: Tue Jan 15, 2008 10:44 pm    Post subject: Reply with quote

Good point.
I disabled authentication on the MP3 stream, and sure enough it connected straight up.
So it looks to me more likely a bug in the WM player/web software than Icecast itself.

So will do some more investigations down that route. Many thanks for the advise Smile
_________________
Andy
http://www.thebmwz3.co.uk/
Back to top
View user's profile Send private message Visit poster's website
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