jacksonlcrews / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

drakice terminates after transferring 11522048 #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start darkice as superuser
2. wait ~1 minute, and darkice will terminate, reporting "11522048 bytes 
transfered to the encoders". It is ALWAYS 11522048 bytes.

What is the expected output? What do you see instead?
I expect it to keep sending data to the icecast2 server. Instead, it stops 
after about 1 min, reporting 11522048 bytes transferred

What version of the product are you using? On what operating system?
jack .0118.0 to darkice 1.0 to icecast 2.3.2 on Gentoo linux.

Please provide any additional information below.
darkice config:
[general]
duration        = 60                         
bufferSecs      = 5                         
reconnect       = yes                                    

[input]
device          = jack_auto                             
sampleRate      = 48000                                     
bitsPerSample   = 16       
channel         = 2         

[icecast2-0]
bitrateMode     = vbr        
format          = mp3    
quality         = 0.8       
server          = localhost                              
port            = 8000      
password        =  XXX                                     
mountPoint      = sample96                               
name            = DarkIce trial 
url             = http://www.yourserver.com   
genre           = my own       
public          = no         
localDumpFile   = dump.ogg  

icecast cfg
<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</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>1</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>
<!-- auth section omitted -->
    <hostname>clunker</hostname>
    <listen-socket>
        <port>8000</port>
    </listen-socket>
    <fileserve>1</fileserve>

Jack Config details:
driver: alsa
It is realtime
Frames/pd: 512
Sample rate: 4800
periods/buffer: 2
port max: 256
Timeout:500msec
Start delay: 2sec
Audio: duplex
All else is default. 

Original issue reported on code.google.com by cjosephs...@gmail.com on 20 Feb 2011 at 4:06

GoogleCodeExporter commented 9 years ago
This is not a bug, this is a configuration problem:
The expected duration for the stream is '60' seconds which is 'one minute'
Please change to 'duration = 0' for continued streaming

[general]
duration        = 60 

Original comment by oetelaar.automatisering on 22 Feb 2011 at 9:47

GoogleCodeExporter commented 9 years ago
Thank-you!

Original comment by cjosephs...@gmail.com on 22 Feb 2011 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by oetelaar.automatisering on 19 May 2013 at 4:20