one thing I forgot to mention with live streams.... it is desirable for
such streams to insert at a *low* htl, and retrieve at a *high* one, as
oppsed to the freenet behaviour usually of equality between the two - so,
say, insert @ 10, retrieve @ 25.
- fish
On Sat, 19 Oct 2002, fish wrote:
>
>
> On Sat, 19 Oct 2002, Matthew Toseland wrote:
>
> I've actully implented freenet streams back in the day, and i had 3 or 4
> people actully tell me that they were able to retrieve them somewhat. I,
> however, pay for data now, and can't be doing this anymore
>
> If people would like me to very quickly fix my implentation so that it's
> out before 0.5 is, however, i am willing to do that (freenet has started
> working for me again now, so fishtools is back in business)
>
> note, btw, that the threads are IMPORTANT. freenet *can* keep up the
> speed, however, there is a large latency where nothing is actully
> happening.
>
> how to do static freenet streams and have them work
> ---------------------------------------------------
>
> On the inserter side:
>
> a) insert a static SSK key saying basically "this is an mp3 stream. it
> starts at chunk n, and ends at chunk n+x. chunks are t minutes.". we're
> going to call this SSK at foo/bar. it should be metadata, no content.
>
> b) insert first minute of audio at SSK at foo/bar/n
>
> c) insert second minute of audio at SSKfoo/bar/(n+1)
>
> d) etc etc etc
>
> on the retriever side:
>
> have a http serverlet that requests stream chunks from 0->n, in order, one
> every t minutes, and note that this must be threaded. start streaming
> when you have 3 chunks.
>
> The major issue, is that in this case, later portions of the audio *will*
> drop off the network. you have been warned.
>
> how to do live freenet streams and have them work
> -------------------------------------------------
>
> On the inserter side:
>
> a) insert a 10 minute DBR redirect
>
> b) every 10 minutes. insert a key sayting "this is a live mp3 stream. I
> am at chunk n. chunks are every t minutes"
>
> c) eavery t minutes, start a thread inserting the audio for the last
> minute
>
> the retriever side should work the same as above.
>
>
> - fish
>
>
_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl