pub fn repeat_sequence_header_per_layer(
layers: &mut [Av1LayerData],
) -> Result<()>Expand description
For an “S” mode (spatial layers that do not predict from each other: simulcast in one RTP stream), puts a copy of the unit’s sequence header in front of every layer after the first that has none, so that a forwarder can keep any one layer and leave it decodable (AV1 RTP section 6.1: “a sequence header OBU SHOULD be aggregated with each spatial layer”). A unit without a sequence header (not a key picture) is left as it is.
§Errors
A layer’s data that is not OBUs.