Package tvi.webrtc
Class PlatformSoftwareVideoDecoderFactory
- java.lang.Object
-
- tvi.webrtc.PlatformSoftwareVideoDecoderFactory
-
- All Implemented Interfaces:
VideoDecoderFactory
public class PlatformSoftwareVideoDecoderFactory extends java.lang.ObjectFactory for Android platform software VideoDecoders.
-
-
Constructor Summary
Constructors Constructor Description PlatformSoftwareVideoDecoderFactory(EglBase.Context sharedContext)Creates a PlatformSoftwareVideoDecoderFactory that supports surface texture rendering.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoDecodercreateDecoder(VideoCodecInfo codecType)Creates a decoder for the given video codec.VideoCodecInfo[]getSupportedCodecs()Enumerates the list of supported video codecs.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tvi.webrtc.VideoDecoderFactory
createDecoder
-
-
-
-
Constructor Detail
-
PlatformSoftwareVideoDecoderFactory
public PlatformSoftwareVideoDecoderFactory(@Nullable EglBase.Context sharedContext)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 Detail
-
createDecoder
@Nullable public VideoDecoder createDecoder(VideoCodecInfo codecType)
Description copied from interface:VideoDecoderFactoryCreates a decoder for the given video codec.- Specified by:
createDecoderin interfaceVideoDecoderFactory
-
getSupportedCodecs
public VideoCodecInfo[] getSupportedCodecs()
Description copied from interface:VideoDecoderFactoryEnumerates the list of supported video codecs.- Specified by:
getSupportedCodecsin interfaceVideoDecoderFactory
-
-