Package tvi.webrtc
Class DefaultVideoDecoderFactory
java.lang.Object
tvi.webrtc.DefaultVideoDecoderFactory
- All Implemented Interfaces:
VideoDecoderFactory
Helper class that combines HW and SW decoders.
-
Constructor Summary
ConstructorDescriptionDefaultVideoDecoderFactory
(EglBase.Context eglContext) Create decoder factory using default hardware decoder factory. -
Method Summary
Modifier and TypeMethodDescriptioncreateDecoder
(VideoCodecInfo codecType) Creates a VideoDecoder for the given codec.Enumerates the list of supported video codecs.
-
Constructor Details
-
DefaultVideoDecoderFactory
Create decoder factory using default hardware decoder factory.
-
-
Method Details
-
createDecoder
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
Description copied from interface:VideoDecoderFactory
Enumerates the list of supported video codecs.- Specified by:
getSupportedCodecs
in interfaceVideoDecoderFactory
-