some trouble with netStream.publish(name,"append")

View: New views
3 Messages — Rating Filter:   Alert me  

some trouble with netStream.publish(name,"append")

by xk su :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: some trouble with netStream.publish(name,"append")

by Thomas-128 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> ns.publish("abc","append"); //I want to publish something to the end of
> abc.flv.
Which version are you using? I'm running on trunk from a few days old,
and I don't have any problem at all appending.

--
VOD & visioconference - http://www.digiprof.tv

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: some trouble with netStream.publish(name,"append")

by xk su :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using 0.7.0v
~!~
new version has no problem with it ?

On Tue, Nov 10, 2009 at 8:59 PM, Thomas <iamkenzo@...> wrote:
> ns.publish("abc","append"); //I want to publish something to the end of
> abc.flv.
Which version are you using? I'm running on trunk from a few days old,
and I don't have any problem at all appending.

--
VOD & visioconference - http://www.digiprof.tv

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org