Package tvi.webrtc
Interface VideoEncoderFactory
-
- All Known Implementing Classes:
DefaultVideoEncoderFactory,HardwareVideoEncoderFactory,SoftwareVideoEncoderFactory
public interface VideoEncoderFactoryFactory for creating VideoEncoders.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceVideoEncoderFactory.VideoEncoderSelector
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VideoEncodercreateEncoder(VideoCodecInfo info)Creates an encoder for the given video codec.default VideoEncoderFactory.VideoEncoderSelectorgetEncoderSelector()Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.default VideoCodecInfo[]getImplementations()Enumerates the list of supported video codecs that can also be tagged with implementation information.VideoCodecInfo[]getSupportedCodecs()Enumerates the list of supported video codecs.
-
-
-
Method Detail
-
createEncoder
@Nullable VideoEncoder createEncoder(VideoCodecInfo info)
Creates an encoder for the given video codec.
-
getSupportedCodecs
VideoCodecInfo[] getSupportedCodecs()
Enumerates the list of supported video codecs. This method will only be called once and the result will be cached.
-
getImplementations
default VideoCodecInfo[] getImplementations()
Enumerates the list of supported video codecs that can also be tagged with implementation information. This method will only be called once and the result will be cached.
-
getEncoderSelector
default VideoEncoderFactory.VideoEncoderSelector getEncoderSelector()
Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.
-
-