Disable IMA SSAI DASH live streams for now

#minor-release

PiperOrigin-RevId: 428761508
This commit is contained in:
bachinger 2022-02-15 14:09:18 +00:00 committed by Ian Baker
parent 78b461f94c
commit b22273de01

View File

@ -368,6 +368,10 @@ public final class ImaServerSideAdInsertionUriBuilder {
if (streamActivityMonitorId != null) {
streamRequest.setStreamActivityMonitorId(streamActivityMonitorId);
}
checkState(
streamRequest.getFormat() != StreamFormat.DASH
|| TextUtils.isEmpty(streamRequest.getAssetKey()),
"DASH live streams are not supported yet.");
return streamRequest;
}
}