Fast play only works with VP6 video. It does not work with H.264.
Here is the module:
package com.wowza.wms.module;
import com.wowza.wms.amf.*;
import com.wowza.wms.client.*;
import com.wowza.wms.request.RequestFunction;
import com.wowza.wms.stream.*;
public class ModuleFastPlay extends ModuleBase
{
/**
* Turn on fast play NetStream.call("setFastPlay", null, multiplier, frames-per-second, direction);
* @param client client
* @param function function
* @param params params (multiplier, frames-per-second, direction)
*/
static public void setFastPlay(IClient client, RequestFunction function, AMFDataList params)
{
double multiplier = getParamDouble(params, PARAM1);
int fps = getParamInt(params, PARAM2);
int direction = getParamInt(params, PARAM3);
client.setFastPlaySettings(new FastPlaySettings(multiplier, fps, direction));
}
}
Charlie