Package tvi.webrtc
Interface VideoEncoderFactory
- All Known Implementing Classes:
DefaultVideoEncoderFactory
,HardwareVideoEncoderFactory
,SoftwareVideoEncoderFactory
public interface VideoEncoderFactory
Factory for creating VideoEncoders.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEncoder
(VideoCodecInfo info) Creates an encoder for the given video codec.Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.default VideoCodecInfo[]
Enumerates the list of supported video codecs that can also be tagged with implementation information.Enumerates the list of supported video codecs.
-
Method Details
-
createEncoder
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
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
Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.
-