Class VideoGreyFadingMediaDevice
- java.lang.Object
-
- org.jitsi.impl.neomedia.device.AbstractMediaDevice
-
- org.jitsi.impl.neomedia.device.MediaDeviceImpl
-
- org.jitsi.impl.neomedia.jmfext.media.protocol.greyfading.VideoGreyFadingMediaDevice
-
- All Implemented Interfaces:
MediaDevice
public class VideoGreyFadingMediaDevice extends MediaDeviceImpl
Implements a MediaDevice which provides a fading animation from white to black to white... in form of video.- Author:
- Thomas Kuntz
-
-
Field Summary
Fields Modifier and Type Field Description static DimensionDEFAULT_DIMENSIONThe default dimension theMediaDevice will have.static intDEFAULT_FRAMERATEThe default framerate theMediaDevice will have.
-
Constructor Summary
Constructors Constructor Description VideoGreyFadingMediaDevice()Initializes a new VideoGreyFadingMediaDevice with default framerate and dimension.VideoGreyFadingMediaDevice(int framerate)Initializes a new VideoGreyFadingMediaDevice with the given framerate and the default dimension.VideoGreyFadingMediaDevice(int framerate, Dimension dimension)Initializes a new VideoGreyFadingMediaDevice with the given framerate and dimension.VideoGreyFadingMediaDevice(Dimension dimension)Initializes a new VideoGreyFadingMediaDevice with the given dimension and the default framerate.
-
Method Summary
-
Methods inherited from class org.jitsi.impl.neomedia.device.MediaDeviceImpl
createCaptureDevice, createOutputDataSource, createTracingCaptureDevice, getCaptureDeviceInfo, getCaptureDeviceInfoLocatorProtocol, getDirection, getFormat, getMediaType, getSupportedFormats, getSupportedFormats, getSupportedFormats, toString
-
Methods inherited from class org.jitsi.impl.neomedia.device.AbstractMediaDevice
connect, createPlayer, createRenderer, createSession, getSupportedExtensions, getSupportedFormats
-
-
-
-
Field Detail
-
DEFAULT_FRAMERATE
public static final int DEFAULT_FRAMERATE
The default framerate theMediaDevice will have.- See Also:
- Constant Field Values
-
DEFAULT_DIMENSION
public static final Dimension DEFAULT_DIMENSION
The default dimension theMediaDevice will have.
-
-
Constructor Detail
-
VideoGreyFadingMediaDevice
public VideoGreyFadingMediaDevice()
Initializes a new VideoGreyFadingMediaDevice with default framerate and dimension.
-
VideoGreyFadingMediaDevice
public VideoGreyFadingMediaDevice(int framerate)
Initializes a new VideoGreyFadingMediaDevice with the given framerate and the default dimension.- Parameters:
framerate- the framerate of the CaptureDevice behind this MediaDevice.
-
VideoGreyFadingMediaDevice
public VideoGreyFadingMediaDevice(Dimension dimension)
Initializes a new VideoGreyFadingMediaDevice with the given dimension and the default framerate.- Parameters:
dimension- the dimension (width and height) of the CaptureDevice behind this MediaDevice.
-
VideoGreyFadingMediaDevice
public VideoGreyFadingMediaDevice(int framerate, Dimension dimension)Initializes a new VideoGreyFadingMediaDevice with the given framerate and dimension.- Parameters:
framerate- the framerate of the CaptureDevice behind this MediaDevice.dimension- the dimension (width and height) of the CaptureDevice behind this MediaDevice.
-
-