Package org.codice.alliance.libs.mpegts
Class MpegTsDecoderImpl
java.lang.Object
org.codice.alliance.libs.mpegts.MpegTsDecoderImpl
- All Implemented Interfaces:
MpegTsDecoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSubmit an MTSPacket for decoding.voidsetPatSectionParser(MpegTsDecoderImpl.PATSectionParser patSectionParser) voidsetPmtSectionParser(MpegTsDecoderImpl.PMTSectionParser pmtSectionParser)
-
Constructor Details
-
MpegTsDecoderImpl
public MpegTsDecoderImpl()
-
-
Method Details
-
read
public void read(org.taktik.mpegts.MTSPacket mtsPacket, Consumer<PESPacket> callback) throws IOException Description copied from interface:MpegTsDecoderSubmit an MTSPacket for decoding. If the packet triggers the completion of a PESPacket, thencallbackwill be called.- Specified by:
readin interfaceMpegTsDecoder- Parameters:
mtsPacket- must be non-nullcallback- must be non-null- Throws:
IOException
-
setPatSectionParser
-
setPmtSectionParser
-