
Modifying dumping to not required "released" to be called. Track index is an arbitrary value based on the order of addTrack calls. Samples are dumped by track (rather than as soon as they are written), so it's preferable to use a value that provides more context. By using the track type as a key, dump files will be more deterministic and will have more similarities when branched. PiperOrigin-RevId: 563700982