org.mobicents.media.server.spi.format
Class VideoFormat

java.lang.Object
  extended by org.mobicents.media.server.spi.format.Format
      extended by org.mobicents.media.server.spi.format.VideoFormat
All Implemented Interfaces:
Cloneable

public class VideoFormat
extends Format
implements Cloneable

Author:
kulikov

Constructor Summary
protected VideoFormat(EncodingName name)
          Creates new format descriptor.
protected VideoFormat(EncodingName name, int frameRate)
          Creates new format descriptor.
protected VideoFormat(String name)
          Creates new format descriptor.
protected VideoFormat(String name, int frameRate)
          Creates new format descriptor.
 
Method Summary
 VideoFormat clone()
           
 int getFrameRate()
          Gets the frame rate.
 void setFrameRate(int frameRate)
          Modifies frame rate.
 String toString()
           
 
Methods inherited from class org.mobicents.media.server.spi.format.Format
getName, getOptions, matches, setName, setOptions
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VideoFormat

protected VideoFormat(EncodingName name)
Creates new format descriptor.

Parameters:
name - format encoding name.

VideoFormat

protected VideoFormat(EncodingName name,
                      int frameRate)
Creates new format descriptor.

Parameters:
name - format encoding name.
frameRate - the number of frames per second.

VideoFormat

protected VideoFormat(String name)
Creates new format descriptor.

Parameters:
name - format encoding name.

VideoFormat

protected VideoFormat(String name,
                      int frameRate)
Creates new format descriptor.

Parameters:
name - format encoding name.
frameRate - the number of frames per second.
Method Detail

getFrameRate

public int getFrameRate()
Gets the frame rate.

Returns:
the number of frames per second.

setFrameRate

public void setFrameRate(int frameRate)
Modifies frame rate.

Parameters:
frameRate - the new value in frames per second.

clone

public VideoFormat clone()
Overrides:
clone in class Format

toString

public String toString()
Overrides:
toString in class Format


Copyright © 2011. All Rights Reserved.