com.wowza.wms.stream
Class FastPlaySettings

Object
  extended by com.wowza.wms.stream.FastPlaySettings

public class FastPlaySettings
extends Object

FastPlaySettings: data container for fast play settings


Constructor Summary
FastPlaySettings()
          Create empty object
FastPlaySettings(double multiplier, int fps, int direction)
          Create object
 
Method Summary
 int getDirection()
          Get direction (1 forward, -1 reverse)
 int getFps()
          Get frames per second
 double getMultiplier()
          Get speed of fast play
 long getStartTC()
          Get the timecode (milliseconds) where this fast play started
 long getStartTCOffset()
          Get the timecode (milliseconds) where this fast play started (not sure why we have both values)
 void setDirection(int direction)
          Set direction (1 forward, -1 reverse)
 void setFps(int fps)
          Set frames per second
 void setMultiplier(double multiplier)
          Set speed of fast play
 void setStartTC(long startTC)
          Set the timecode (milliseconds) where this fast play started
 void setStartTCOffset(long startTCOffset)
          Set the timecode (milliseconds) where this fast play started (not sure why we have both values)
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastPlaySettings

public FastPlaySettings()
Create empty object


FastPlaySettings

public FastPlaySettings(double multiplier,
                        int fps,
                        int direction)
Create object

Parameters:
multiplier - speed
fps - frames per second
direction - direction (1 forward, -1 reverse)
Method Detail

getDirection

public int getDirection()
Get direction (1 forward, -1 reverse)

Returns:
direction (1 forward, -1 reverse)

getFps

public int getFps()
Get frames per second

Returns:
frames per second

getMultiplier

public double getMultiplier()
Get speed of fast play

Returns:
speed of fast play

getStartTC

public long getStartTC()
Get the timecode (milliseconds) where this fast play started

Returns:
timecode of start of fast play (milliseconds)

getStartTCOffset

public long getStartTCOffset()
Get the timecode (milliseconds) where this fast play started (not sure why we have both values)

Returns:
timecode of start of fast play (milliseconds)

setDirection

public void setDirection(int direction)
Set direction (1 forward, -1 reverse)

Parameters:
direction - direction (1 forward, -1 reverse)

setFps

public void setFps(int fps)
Set frames per second

Parameters:
fps - frames per second

setMultiplier

public void setMultiplier(double multiplier)
Set speed of fast play

Parameters:
multiplier - speed of fast play

setStartTC

public void setStartTC(long startTC)
Set the timecode (milliseconds) where this fast play started

Parameters:
startTC - timecode of start of fast play (milliseconds)

setStartTCOffset

public void setStartTCOffset(long startTCOffset)
Set the timecode (milliseconds) where this fast play started (not sure why we have both values)

Parameters:
startTCOffset - timecode of start of fast play (milliseconds)