Here is the current SplitFile metadata format:
SplitFile?.Size=<hex file size>
SplitFile?.BlockCount=<hex no. of data blocks>
[SplitFile.CheckBlockCount=<hex. no of check blocks>]
SplitFile?.Block.<n>=<URI>
[SplitFile.Graph.<x>=a,b,c...]
How about another set of possible SplitFile settings, which would be
mutually exclusive with the above, that would allow streaming of things
such as mp3s and oggs:
SplitFile.Continuous=yes
SplitFile.Prefix=<URI fragment>
SplitFile.StartTime=<hex. insertion time of first block in seconds since
epoch>
SplitFile.BlockTime=<hex. milli-seconds between blocks>
[SplitFile.StreamInfo.<n>=<string>]
Explanation:
Continuous=yes indicates that this is a continuous stream, rather than a
finite splitfile.
Prefix is a KSK or SSK URI fragment such as
"freenet:SSK@<pubkey>/stream1/" to which hex numbers will be appended
for retrieval of each block.
StartTime is the time in seconds since the epoch after the first block
was added.
BlockTime is the time interval between insertion of successive blocks.
StreamInfo are arbitrary strings which can contain additional data about
the stream (such as format etc).
---
This may not be perfect, but it is a starting point. Someone who
understands FEC can figure out how to add FEC functionality.
Ian.
--
Ian Clarke ian@[freenetproject.org|locut.us|cematics.com]
Latest Project http://cematics.com/kanzi
Personal Homepage http://locut.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20021116/c23b1b9e/attachment.pgp>