Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.neomedia.format
Interface VideoMediaFormat

All Superinterfaces:
MediaFormat
All Known Implementing Classes:
VideoMediaFormatImpl

public interface VideoMediaFormat
extends MediaFormat

The interface represents a video format. Video formats characterize video streams and the VideoMediaFormat interface gives access to some of their properties such as encoding and clock rate.

Author:
Emil Ivov

Field Summary
 
Fields inherited from interface net.java.sip.communicator.service.neomedia.format.MediaFormat
MAX_DYNAMIC_PAYLOAD_TYPE, MIN_DYNAMIC_PAYLOAD_TYPE, RTP_PAYLOAD_TYPE_UNKNOWN
 
Method Summary
 float getFrameRate()
          Returns the frame rate associated with this MediaFormat.
 Dimension getSize()
          Returns the size of the image that this VideoMediaFormat describes.
 
Methods inherited from interface net.java.sip.communicator.service.neomedia.format.MediaFormat
equals, formatParametersMatch, getAdditionalCodecSettings, getAdvancedAttributes, getClockRate, getClockRateString, getEncoding, getFormatParameters, getMediaType, getRealUsedClockRateString, getRTPPayloadType, setAdditionalCodecSettings, toString
 

Method Detail

getSize

Dimension getSize()
Returns the size of the image that this VideoMediaFormat describes.

Returns:
a java.awt.Dimension instance indicating the image size (in pixels) of this VideoMediaFormat.

getFrameRate

float getFrameRate()
Returns the frame rate associated with this MediaFormat.

Returns:
The frame rate associated with this format.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.