Heyas, I'm trying to get setDumpfile working with the java libshout bindings. I am calling shout_set_dumpfile(shout,char*) after specifying the port, host, mount and password, yet, the dumpfile is not created on the server side. To be more specific, I'm trying this: bin/streamAdmin -d /tmp/test.mp3 -h streams.benow.ca -p 80 -P pass -m /benow which sets the dumpfile to be /tmp/test.mp3 for the /benow stream, which completes with no errors, but /tmp/test.mp3 is not created. What I am hoping to accomplish is to cron On and Off times for show archiving. Is per mount libshout2 initiated dumpfile recording tested on icecast2, and, if so, any pointers? Also, to stop dumpfile recording, does one pass in a NULL to shout_set_dumpfile? Thanks, Andy PS Icecast2/Libshout2 are without compare! Great work. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thanks for the reply, Mike. Is there currently any way to accomplish the same thing (ie, recording of a dumpfile for a mount for a given duration) with icecast2 as it stands? Perhaps through the admin interface, or via a config change and reload? I'm surprised this feature has not been more requested, it would certainly be welcome here. If not, no biggie, I could just use a local gstreamer process to record. Thanks, Andy <p>On Tue, 2004-03-09 at 16:48, Michael Smith wrote:> On Wednesday 10 March 2004 06:56, Andrew Taylor wrote: > > Heyas, > > > > I'm trying to get setDumpfile working with the java libshout bindings. > > I am calling shout_set_dumpfile(shout,char*) after specifying the port, > > host, mount and password, yet, the dumpfile is not created on the server > > side. To be more specific, I'm trying this: > > > > bin/streamAdmin -d /tmp/test.mp3 -h streams.benow.ca -p 80 -P pass -m > > /benow > > > > which sets the dumpfile to be /tmp/test.mp3 for the /benow stream, which > > completes with no errors, but /tmp/test.mp3 is not created. What I am > > hoping to accomplish is to cron On and Off times for show archiving. Is > > per mount libshout2 initiated dumpfile recording tested on icecast2, > > and, if so, any pointers? Also, to stop dumpfile recording, does one > > pass in a NULL to shout_set_dumpfile? > > > > I suspect this source-initiated dumpfile stuff is for icecast 1.x. > > Certainly, it is not (and will never be) implemented in icecast 2. It can be > configured server-side. > > I doubt there's a way to stop dumpfile recording with icecast 1.x. > > Mike > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday 10 March 2004 06:56, Andrew Taylor wrote:> Heyas, > > I'm trying to get setDumpfile working with the java libshout bindings. > I am calling shout_set_dumpfile(shout,char*) after specifying the port, > host, mount and password, yet, the dumpfile is not created on the server > side. To be more specific, I'm trying this: > > bin/streamAdmin -d /tmp/test.mp3 -h streams.benow.ca -p 80 -P pass -m > /benow > > which sets the dumpfile to be /tmp/test.mp3 for the /benow stream, which > completes with no errors, but /tmp/test.mp3 is not created. What I am > hoping to accomplish is to cron On and Off times for show archiving. Is > per mount libshout2 initiated dumpfile recording tested on icecast2, > and, if so, any pointers? Also, to stop dumpfile recording, does one > pass in a NULL to shout_set_dumpfile? >I suspect this source-initiated dumpfile stuff is for icecast 1.x. Certainly, it is not (and will never be) implemented in icecast 2. It can be configured server-side. I doubt there's a way to stop dumpfile recording with icecast 1.x. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.