mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00

Referential equality is going to become important for detecting whether a SampleStream has been replaced, so we need to create new instances as we do elsewhere. This also enables multiple SampleStreams to be provided for a single TrackGroup, as is also true for DASH and SmoothStreaming. It's forbidden to ask for multiple SampleStreams from a single TrackGroup currently, but we may choose to relax that at some point (and indicate whether it's allowed as a flag on each TrackGroup). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129842336