It can be useful to be able to analyze the stream content of a master playlist.
This PR adds a function on MasterPlaylist to get a summary of all the independent streams in that playlist. This includes an analysis of whether each stream is demuxed audio, demuxed video, or mixed audio/video.
Change Notes
Added new function on MasterPlaylist: calculateStreamSummary. This returns a ResultType with a PlaylistStreamSummary on success and a StreamSummaryError on failure.
Pre-submission Checklist
[x] I ran the unit tests locally before checking in.
[x] I made sure there were no compiler warnings before checking in.
[x] I have written useful documentation for all public code.
[x] I have written unit tests for this new feature.
Description
This PR implements feature #40.
It can be useful to be able to analyze the stream content of a master playlist.
This PR adds a function on
MasterPlaylist
to get a summary of all the independent streams in that playlist. This includes an analysis of whether each stream is demuxed audio, demuxed video, or mixed audio/video.Change Notes
MasterPlaylist
:calculateStreamSummary
. This returns aResultType
with aPlaylistStreamSummary
on success and aStreamSummaryError
on failure.Pre-submission Checklist