fms ns.play(file, -2) Vs ns.play(stream, -2)

fms ns.play(file, -2) Vs ns.play(stream, -2)

Post by moschou » Sun, 09 Dec 2007 02:42:06


Hi,

I have a very strange problem.

I have created an application on fms. on the streams/_definst_/instance
directory there is a sample flv file with name file.flv

If i have a client doing ns.play(file,-2) everything is fine. The file is
delivered (streaming) nicely.

If i have the below:

Client::: ns.play(stream, -2);

Server-side: (Stream.get("stream")).play(file, -2);

The file is delivered, but it doesnt playback/flow properly. It seems like
breaking(stacks) on some points and then continue.

Does anyone have any idea?

Thank you vrey much!
 
 
 

fms ns.play(file, -2) Vs ns.play(stream, -2)

Post by moschou » Tue, 11 Dec 2007 16:16:49

anyone who could give me just a tip?

thanks,

Manos

 
 
 

fms ns.play(file, -2) Vs ns.play(stream, -2)

Post by fmslov » Wed, 12 Dec 2007 00:11:45

are you sure about the sanity of the flv file.

BTW, by using Server-side: (Stream.get("stream")).play(file, -2); you
are publishing the flv file as a live stream. please try increasing
the client side buffer in the swf (say 2 second).

-P