mirror of
https://github.com/androidx/media.git
synced 2025-05-17 12:39:52 +08:00

Previously, encrypted media segments did not have the chunk duration set, causing an assertion failure during `CmcdData` creation. With this change, the chunk duration is always set, while `CmcdData` ensures it is applied only for media chunks. Issue: androidx/media#2312 PiperOrigin-RevId: 745196718 (cherry picked from commit 9182b413dc6e14ed06817d8ad4ae65ce01d85f1b)