- The
SpliceCommand
enum is now markednon_exhaustive
since there may be additions to it in future. - Bumped to mpeg2ts-reader 0.18.2 release, which changes the structure of the
StreamType
type used for ourSCTE35_STREAM_TYPE
constant.
- New
private_command()
syntax support via a newSpliceCommand::PrivateCommand
variant
- Bumped to mpeg2ts-reader 0.16 release
- Switched to Rust 2021 edition
- Bumped to mpeg2ts-reader 0.15 release
- New
SCTE35_STREAM_TYPE
constant
- Fixed failure to parse marker with
segmentation_descriptor()
that omits the optionalsub_segment_num
andsub_segments_expected
fields. - Fixed panics on encountering descriptors with more bytes than the parser was able to consume.
- Fixed panic on
time_descriptor()
shorter than expected
- Extended error type's
NotEnoughData
variant with afield_name
describing what data we were trying to parse when we ran out of bytes. - As a result of fixing sub_segments field handling, the
sub_segment_num
andsub_segments_expected
fields are no longer directly present inSegmentationDescriptor::Insert
, and have moved to a new, optionalSebSegments
struct. - The
segmentation_upid_type
andsegmentation_upid_length
fields ofSegmentationDescriptor::Insert
are removed in favor of identically named methods on theSegmentationUpid
type - Bumped
mpeg2ts-reader
to latest 0.14.0 release
- New
upid
module containing types to represent the different classes of Unique Program Identifier values specified by SCTE-35
- Avoid panic on unexpectedly small values of
splice_descriptor_len
- Fix off-by-one bug in parsing some descriptor data causing an assertion to trigger, per #3.
Scte35SectionProcessor
implementsWholeCompactSyntaxPayloadParser
rather thanSectionProcessor
so that it can now handle SCTE 35 sections that span more than one TS packet- Now checks that the CRC in the section data is correct, and will not parse if incorrect.
- Bumped
mpeg2ts-reader
to latest 0.10.0 release
- More documentation
SpliceInfoProcessor::process()
signature altered to take newSpliceDescriptors
type, rather thanSpliceDescriptorIterator
directly. This makes it possible for implementations ofprocess()
to iterate through the descriptors more than once.- All interesting types now implement
serde::Serialize
(soserde
is now a dependency). - Now depends on
mpeg2ts-reader
0.8.
- An
is_scte35()
utility function to test if SCTE-35 should be expected.
- Made most methods return
Result
, and remove all explicitunwrap()
calls from within - Bumped
mpeg2ts-reader
to latest 0.7.0 release
- Support for
time_signal()
andbandwidth_reservation()
messages, plusDTMF_descriptor
,segmentation_descriptor
andtime_descriptor
- huge thanks to @davemevans!
- Bumped
mpeg2ts-reader
to latest 0.6.0 release
- Presence of a descriptor in the SCTE data will no longer result in a panic due to out of bounds access