Interface SectionPayloadReader

  • All Known Implementing Classes:
    PassthroughSectionPayloadReader

    @Deprecated
    public interface SectionPayloadReader
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Reads section data.
    • Method Detail

      • consume

        void consume​(ParsableByteArray sectionData)
        Deprecated.
        Called by a SectionReader when a full section is received.
        Parameters:
        sectionData - The data belonging to a section starting from the table_id. If section_syntax_indicator is set to '1', sectionData excludes the CRC_32 field. Otherwise, all bytes belonging to the table section are included.