#![deny(unsafe_code)]
#![warn(missing_debug_implementations)]
pub mod clock;
pub mod descriptor;
pub mod error;
pub mod packet;
pub mod pes;
pub mod psi;
pub mod stream_type;
#[cfg(feature = "registry")]
pub mod demuxer;
#[cfg(feature = "registry")]
pub mod muxer;
#[cfg(feature = "registry")]
pub mod registry;
pub use clock::{
ContinuityEvent, ContinuityTracker, DiscontinuityReason, Pcr, PcrEvent, PcrTracker,
PCR_MODULUS_27MHZ, PCR_TOLERANCE_27MHZ,
};
pub use descriptor::{
iter_descriptors, parse_descriptors, AudioStreamDescriptor, AvcVideoDescriptor, CaDescriptor,
DataStreamAlignmentDescriptor, Descriptor, DescriptorBody, DescriptorIter, HevcVideoDescriptor,
Iso639Language, MaximumBitrateDescriptor, ServiceDescriptor, ShortEventDescriptor,
SmoothingBufferDescriptor, StdDescriptor, SystemClockDescriptor, VideoStreamDescriptor,
};
pub use error::TsError;
pub use packet::{
iter_packets, AdaptationField, AdaptationFieldExtension, TsPacket, TsPacketIter, TS_PACKET_LEN,
TS_SYNC_BYTE,
};
pub use pes::{PStdBuffer, PesExtension, PesPacket, PesReassembler, ProgramPacketSequenceCounter};
pub use psi::{
iter_sections, mpeg2_crc32, ConditionalAccessTable, EitDateTime, EitDuration, EitEvent,
EventInformationTable, PmtStream, ProgramAssociationTable, ProgramMapTable,
PsiSectionAssembler, RunningStatus, SdtService, SectionIter, ServiceDescriptionTable,
TransportStreamDescriptionTable, CAT_PID, CAT_TABLE_ID, EIT_ACTUAL_PF_TABLE_ID,
EIT_ACTUAL_SCHEDULE_FIRST, EIT_ACTUAL_SCHEDULE_LAST, EIT_OTHER_PF_TABLE_ID,
EIT_OTHER_SCHEDULE_FIRST, EIT_OTHER_SCHEDULE_LAST, EIT_PID, MAX_PSI_SECTION_LEN, PAT_PID,
PAT_TABLE_ID, PMT_TABLE_ID, SDT_ACTUAL_TABLE_ID, SDT_OTHER_TABLE_ID, SDT_PID, TSDT_PID,
TSDT_TABLE_ID,
};
pub use stream_type::StreamType;
#[cfg(feature = "registry")]
pub use demuxer::{open as open_demuxer, probe as probe_mpegts, MpegTsDemuxer};
#[cfg(feature = "registry")]
pub use muxer::{open as open_muxer, MpegTsMuxer};
#[cfg(feature = "registry")]
pub use registry::{register, register_containers};
#[cfg(feature = "registry")]
oxideav_core::register!("mpegts", register);