class ServiceLevelBasedVideoTtlResolver implements VideoTtlResolver {

	@Override
	public long resolveTtlInSeconds(UUID placeId, boolean isStream) {
		if(isStream) {
			return defaultStreamTtl;
		}else{
			return getTtlInSecondsByPlace(placeId);
		}
	}

	@Inject public  ServiceLevelBasedVideoTtlResolver(PlaceServiceLevelCache placeServiceLevelCache, VideoDaoConfig config);

}