Skip to main content

mpeg_ts/
lib.rs

1#![doc = include_str!("../README.md")]
2#![no_std]
3#![forbid(unsafe_code)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5extern crate alloc;
6
7pub mod error;
8pub mod mux;
9pub mod owned;
10pub mod pid;
11pub mod pusi;
12pub mod resync;
13pub mod section;
14pub mod ts;
15pub mod ts_dup;
16
17pub use error::{Error, Result};
18pub use owned::OwnedTsPacket;
19pub use ts::{
20    AdaptationField, AdaptationFieldControl, AdaptationFieldExtension, Ltw, MAX_DATAGRAM_PAYLOAD,
21    Pcr, ScramblingControl, SeamlessSplice, TS_BYTES_PER_DATAGRAM, TS_PACKET_SIZE,
22    TS_PACKETS_PER_DATAGRAM, TS_SYNC_BYTE, TsHeader, TsPacket,
23};