Package tvi.webrtc
Class DefaultVideoDecoderFactory
- java.lang.Object
-
- tvi.webrtc.DefaultVideoDecoderFactory
-
- All Implemented Interfaces:
VideoDecoderFactory
public class DefaultVideoDecoderFactory extends java.lang.Object implements VideoDecoderFactory
Helper class that combines HW and SW decoders.
-
-
Constructor Summary
Constructors Constructor Description DefaultVideoDecoderFactory(EglBase.Context eglContext)
Create decoder factory using default hardware decoder factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoDecoder
createDecoder(VideoCodecInfo codecType)
Creates a VideoDecoder for the given codec.VideoCodecInfo[]
getSupportedCodecs()
Enumerates the list of supported video codecs.
-
-
-
Constructor Detail
-
DefaultVideoDecoderFactory
public DefaultVideoDecoderFactory(@Nullable EglBase.Context eglContext)
Create decoder factory using default hardware decoder factory.
-
-
Method Detail
-
createDecoder
@Nullable public VideoDecoder createDecoder(VideoCodecInfo codecType)
Description copied from interface:VideoDecoderFactory
Creates a VideoDecoder for the given codec. Supports the same codecs supported by VideoEncoderFactory.- Specified by:
createDecoder
in interfaceVideoDecoderFactory
-
getSupportedCodecs
public VideoCodecInfo[] getSupportedCodecs()
Description copied from interface:VideoDecoderFactory
Enumerates the list of supported video codecs.- Specified by:
getSupportedCodecs
in interfaceVideoDecoderFactory
-
-