Commit 4736a102 by olly Committed by Andrew Lewis

Attach ExoMediaCryptoType for progressive streams

PiperOrigin-RevId: 311628160
parent bc96d3a9
......@@ -730,6 +730,11 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
trackFormat = trackFormat.copyWithBitrate(icyHeaders.bitrate);
}
}
if (trackFormat.drmInitData != null) {
trackFormat =
trackFormat.copyWithExoMediaCryptoType(
drmSessionManager.getExoMediaCryptoType(trackFormat.drmInitData));
}
trackArray[i] = new TrackGroup(trackFormat);
}
isLive = length == C.LENGTH_UNSET && seekMap.getDurationUs() == C.TIME_UNSET;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment