i'm experimenting with audio streaming from my home lan.
i have 2 computers connected to internet through edimax router...
my download bandwidht is 1.5 mbit and upload 96 kbit...
i use icecast and shoutcast as servers and oddcast as source client installed as
plugin in foobar2000.
on home lan music play continuesly without any interrupts.
But when user connects from internet then his connection breaks after couple of seconds of listening and if he resumes it then it breaks again.
I did little cross-testing to see what side (client or server) might be a problematic one with same result...
1. different audio players for listening: foobar and windows media player.
- connection/stream always breaks...
2. different servers: icecast or shoutcast
- connection/stream always breaks...
3. different computers(i have two on my lan): pII 400 with 200 mg of ram
and amd 3600 with 1gb of ram
- connection/stream always breaks...
here is some log dumps from icecast:
QUOTE
[2005-04-19 15:48:44] INFO main/main.c Icecast 2.2.0 server started
[2005-04-19 15:48:44] INFO yp/yp.c Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 15s, default interval 30s)
[2005-04-19 15:48:44] INFO yp/yp.c YP update thread started
[2005-04-19 15:48:51] INFO connection/connection.c Source logging in at mountpoint "/stream"
[2005-04-19 15:49:08] INFO source/source.c listener count on /stream now 1
[2005-04-19 15:49:11] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:12] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:14] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:20] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:26] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:47] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:54] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:02:16] INFO source/source.c Source "/stream" exiting
[2005-04-19 16:02:16] INFO connection/connection.c All connection threads down
[2005-04-19 16:02:16] INFO main/main.c Shutting down
[2005-04-19 16:02:16] INFO yp/yp.c clearing up YP entry for /stream
[2005-04-19 16:02:16] INFO slave/slave.c Slave thread shutdown complete
[2005-04-19 16:02:17] INFO yp/yp.c YP thread down
[2005-04-19 16:02:18] INFO stats/stats.c stats thread finished
[2005-04-19 15:48:44] INFO yp/yp.c Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 15s, default interval 30s)
[2005-04-19 15:48:44] INFO yp/yp.c YP update thread started
[2005-04-19 15:48:51] INFO connection/connection.c Source logging in at mountpoint "/stream"
[2005-04-19 15:49:08] INFO source/source.c listener count on /stream now 1
[2005-04-19 15:49:11] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:12] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:14] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:20] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:26] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:01:47] INFO source/source.c listener count on /stream now 1
[2005-04-19 16:01:54] INFO source/source.c listener count on /stream now 0
[2005-04-19 16:02:16] INFO source/source.c Source "/stream" exiting
[2005-04-19 16:02:16] INFO connection/connection.c All connection threads down
[2005-04-19 16:02:16] INFO main/main.c Shutting down
[2005-04-19 16:02:16] INFO yp/yp.c clearing up YP entry for /stream
[2005-04-19 16:02:16] INFO slave/slave.c Slave thread shutdown complete
[2005-04-19 16:02:17] INFO yp/yp.c YP thread down
[2005-04-19 16:02:18] INFO stats/stats.c stats thread finished
you can see zeroes and ones
does anyone has an idea what could be wrong ?
