Scrubbing server-side generated playlist
I am generating a playlist server-side but am having problems when I try and scrub it on the client-side.
Here's the contents of main.asc of my application:
application.onConnect = function(client) {
this.testStream = Stream.get("mp4:testplaylist");
this.testStream.play("mp4:test.f4v", 9, 16);
this.testStream.play("mp4:test2.f4v", 11, 10, false);
application.acceptConnection( client );
}
Client.prototype.getStreamLength = function( streamName ) {
return "26"; // hardcoded for now
};
The client calls "getStreamLength" to get the length of the sequence from the server; I do this in order to set the length of the scrub bar correctly.
The problem is when I try and scrub - both forwards and backwards - it doesn't work; the stream just pauses then picks up where it last stopped, regardless of the position of the scrub bar.
Is it possible to scrub a server-side generated playlist using Flash Media Server?
I am using both Flash Player 10 and 10.1 and version 3.5.3 of Flash Media Server.
Thanks
