Hmm, maybe it could work somehow if we're using quality-based VBR- encoding? If you have silence only very few bandwidth is needed. But I really personally dislike all these VBR-things ... so thats why I would never try implementing it :-) If you want to try to do it this way you might have to write a dsp- plugin that loads Oddcast DSP "behind" itself and passes audio through. This way you could mute the audio. Just my 2 cents Stefan On 23 Jun 2003 at 22:37, Bryan Payne wrote:> Yea, > > It's VERY possbile to have the encoder sit idle until a User connects > - we do that with our WMA encoders and where thinking of applying it > to mp3 and ogg - however therein lies the problem - instead of PULL > streaming you are PUSH streaming - and the server MUST see a source > connected otherwise it will not allow a client to connect - > > Bryan > > ----- Original Message ----- > From: "Ross Levis" <ross.levis@cchlawbase.co.nz> > To: <icecast@xiph.org> > Sent: Monday, June 23, 2003 10:32 PM > Subject: RE: [icecast] Oddcast suggestion > > > I don't develop in C unfortunately, but I think I've thought of > another way of doing it for those using Winamp. > > A DSP plugin could be developed to read /admin/streamlist to get > number of listeners. If listeners is zero then zero the audio data. > Place this in front of the OddCast DSP. I'm not exactly sure what is > possible with a DSP plugin. Someone else may know if the audio data > can be completely removed or does it need to output digital silence, > which should at least be encoded at a lower bitrate. > > Anyone know? > > Ross. > > Michael Smith wrote: > > Icecast2 already supports relaying. > > It doesn't do on-demand relaying. The design is such that it > > should be easy to > > add, but I (and as far as I know, the other current > > developers) have no > > intention of implementing it in the near future. Patches are > > welcome. > > > > 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.
At 06:44 PM 6/24/2003 +1200, you wrote:>Stefan Neufeind wrote: > >That is exactly what I was suggesting. DSP stackers allow DSP's to be >processed in the order you need. In my case, however, I would use the new >DSP in the Winamp DSP/Effects and the OddCast DSP in the SQRSoft DSP area. > >Regards, >Ross.the DSP is the wrong place to do this....The right way to do it is the way Mike suggested (on-demand relaying). And as Bryan also suggested, WMA streaming lends itself to this kind of thing easily, since it's the way WMA streaming works (you don't actually *send* a WMA stream to a server from the DSP, you host it in the DSP and the streaming server PULLs the data from you, so adding a "PULL only when a listener is listening" logic is rather easy to implement. Since both MP3 and Vorbis streaming solutions are PUSH (i.e. the DSP source sends the stream to the broadcast server), in order to accomplish the same type of behavior, you'd need to set up an intermediate relay and do on-demand relaying. oddsock <p><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.
Stefan Neufeind wrote:> Hmm, maybe it could work somehow if we're using quality-based VBR- > encoding? If you have silence only very few bandwidth is needed.I've not seen a bitrate managed vorbis stream yet. They are all VBR.> If you want to try to do it this way you might have to write a dsp- > plugin that loads Oddcast DSP "behind" itself and passes audio > through. This way you could mute the audio.That is exactly what I was suggesting. DSP stackers allow DSP's to be processed in the order you need. In my case, however, I would use the new DSP in the Winamp DSP/Effects and the OddCast DSP in the SQRSoft DSP area. I will attempt to do this myself when I get time, but that may be never. Regards, Ross. --- >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.