Package tvi.webrtc
Class SoftwareVideoEncoderFactory
- java.lang.Object
-
- tvi.webrtc.SoftwareVideoEncoderFactory
-
- All Implemented Interfaces:
VideoEncoderFactory
public class SoftwareVideoEncoderFactory extends java.lang.Object implements VideoEncoderFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface tvi.webrtc.VideoEncoderFactory
VideoEncoderFactory.VideoEncoderSelector
-
-
Constructor Summary
Constructors Constructor Description SoftwareVideoEncoderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoEncoder
createEncoder(VideoCodecInfo codecInfo)
Creates an encoder for the given video codec.VideoCodecInfo[]
getSupportedCodecs()
Enumerates the list of supported video codecs.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tvi.webrtc.VideoEncoderFactory
getEncoderSelector, getImplementations
-
-
-
-
Method Detail
-
createEncoder
@Nullable public VideoEncoder createEncoder(VideoCodecInfo codecInfo)
Description copied from interface:VideoEncoderFactory
Creates an encoder for the given video codec.- Specified by:
createEncoder
in interfaceVideoEncoderFactory
-
getSupportedCodecs
public VideoCodecInfo[] getSupportedCodecs()
Description copied from interface:VideoEncoderFactory
Enumerates the list of supported video codecs. This method will only be called once and the result will be cached.- Specified by:
getSupportedCodecs
in interfaceVideoEncoderFactory
-
-