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 a08517e1d8
commit 0619a96fa2

View file

@ -366,6 +366,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;
}
}