I find that when I publish a stream using append mode. the metadata seem not to be update to the file.
when I publish stream to an existed FLV for example
//ns is a NetStream() as we all know
ns.publish("abc","append"); //I want to publish something to the end of abc.flv.
when I want to playback abc.flv,I got a wrong duration. so I can't deal with the process bar.
Then I tried.
for example I have abc.flv file and it's duration is 10S and I publish ,append another 5S to it.
I got A new abc.flv file and it should be 15S but in fact it's 10S
I play it and got a "NetStream.Play.Stop" and a "NetStream.Buffer.Flush" at 10S
then at 15S I got "NetStream.Buffer.empty"
so now I want to playback a FLV,I'm not sure of the duration as it may be fake .and when I seek ,it doesn't work well either.
is there any solution in java code to fix the problem >
or someone can tell me when and where the RED5 write the metadata when RED5 get client publish stream? so I can try to fix it my self.
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org