Package com.telnyx.webrtc.lib
Class PlatformSoftwareVideoDecoderFactory
java.lang.Object
com.telnyx.webrtc.lib.PlatformSoftwareVideoDecoderFactory
- All Implemented Interfaces:
VideoDecoderFactory
Factory for Android platform software VideoDecoders.
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformSoftwareVideoDecoderFactory(EglBase.Context sharedContext) Creates a PlatformSoftwareVideoDecoderFactory that supports surface texture rendering. -
Method Summary
Modifier and TypeMethodDescriptioncreateDecoder(VideoCodecInfo codecType) Creates a VideoDecoder for the given codec.Enumerates the list of supported video codecs.
-
Constructor Details
-
PlatformSoftwareVideoDecoderFactory
Creates a PlatformSoftwareVideoDecoderFactory that supports surface texture rendering.- Parameters:
sharedContext- The textures generated will be accessible from this context. May be null, this disables texture support.
-
-
Method Details
-
createDecoder
Description copied from interface:VideoDecoderFactoryCreates a VideoDecoder for the given codec. Supports the same codecs supported by VideoEncoderFactory.- Specified by:
createDecoderin interfaceVideoDecoderFactory
-
getSupportedCodecs
Description copied from interface:VideoDecoderFactoryEnumerates the list of supported video codecs.- Specified by:
getSupportedCodecsin interfaceVideoDecoderFactory
-