GithubHelp home page GithubHelp logo

axiscommunications / acap-documentation Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 3.0 3.81 MB

Documentation of the ACAP version 4 SDK

Home Page: https://axiscommunications.github.io/acap-documentation/

License: Other

HTML 76.77% Dockerfile 0.02% Ruby 0.01% SCSS 0.03% Shell 0.03% JavaScript 11.55% CSS 8.55% Makefile 0.19% C 2.58% C++ 0.25% GLSL 0.02%
axis acap documentation sdk

acap-documentation's People

Contributors

bsriramprasad avatar carlcn avatar corallo avatar deepikas20 avatar ecosvc-dockerhub avatar github-axiscommunications-ecosystem avatar joakimr-axis avatar johan-bjareholt avatar johan-olsson-work avatar johanxmodin avatar jojju avatar kristinub avatar kristoffer-github-anderson avatar lukgiax avatar mattias-kindborg-at-work avatar mikaelli-axis avatar moarcoffee avatar pataxis avatar petterwa avatar renovate[bot] avatar shreyasatwork avatar stepheng-axis avatar toveb-axis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

acap-documentation's Issues

The name of the default branch

The name of the default branch is master. We ought to discuss the pros and cons for keeping this name in favour of main.

The following arguments are opposed to naming the default branch master.

  • Inclusiveness
  • This is a new project, thus I assumed the default branch to be main
  • With time, the name master will be used more seldom. New project will be created with the name main and many old project will probably migrate to the new name main

The following arguments are favouring the default branch master.

  • Most developers today will recognise the name master, but an argument can be made that this will transition to be false given time
  • Given you're using links to reference specific parts of this repository from parts of the internet, the risks are high that the default branch name is part of these links.

Information regarding auto-generated content to contributing guidelines

The files schema-field-descriptions-* are auto-generated from an upstream source. As a contributor this is not obvious.

Action points:

  • It should be obvious that these files have been autogenerated. I should be able to read this in the specific Markdown documents.
  • Let's update the contributing guidelines with information regarding auto-generated content. As a contributor, what should I look for to determine whether content has been auto-generated or not.
  • Let's update the specific Markdown documents regarding their upstream source, if I cannot make changes in the auto-generated content, where should I make the changes?

Mention lack of support for signing using older SDKs

We have gotten the feedback that we ought to state in the documentation that applications built using older SDKs cannot be signed in the ACAP portal. This is relevant for ACAP3 SDK versions below 3.5 and Native SDK versions below 1.1.

The reason for this is that the portal requires "architecture" to be included in the manifest, and support for that did not exist in earlier SDKs.

VAPIX-access-for-ACAP-applications runtime credentials work with local RTSP endpoint or only http?

Do the runtime credentials also give us access to the RTSP server? Have not yet tested this, if not then please add this. Otherwise we still need to ask clients to enter a username/password upon app installation on the camera. This is an inconvenience which lowers adoption and long term stability of the app. Our app uses the local RTSP server and for the sake of efficiency we do not want to duplicate this functionality inside our app.

Thank you.

Manifest schema documentation

In Azure there's a concept called ARM which basically are JSON files that describe infrastructure. Here you can see how they are documented.

In AWS there's a concept called CloudFormation which, again, basically are JSON files that describe infrastructure. Here you can see how they are documented.

One cannot help but to identify the similarities. They both start with a JSON document that highlight the structure, and then below the document each property is described, together with its type and whether it is required.

As the saying goes: good artists borrow, great artists steal.

Why 2 version tracks (version 1.x vs 4.x) referred to in ACAP Native SDK documentation

Hi,

Why are we referring to 2 different versions tracks in our official ACAP Native SDK documentation, i.e. version 1.x track and version 4.x track?

This just causes confusion, why not only refer to 4.x versions in all places?

See this page:

https://axiscommunications.github.io/acap-documentation/docs/api/native-sdk-api.html#compatibility

Compatibility

The table below shows ACAP Native SDK and firmware version compatibility.

SDK version Available from firmware version
1.0 10.7
1.1 10.9
1.2 10.10
1.3 10.12
1.4 11.0
1.5 11.1
1.6 11.2
1.7 11.3

....and compare it to this one:

https://axiscommunications.github.io/acap-documentation/docs/axis-devices-and-compatibility/#find-the-right-sdk-for-software-compatibility

Find the right SDK for software compatibility

Choose the appropriate SDK version based on what AXIS OS version you want supporting your ACAP.

ACAP SDK version Compatible with AXIS OS version
SDK 4.0 10.7 and later
SDK 4.1 10.9 and later
SDK 4.2 10.10 and later
SDK 4.3 10.12 and later
SDK 4.4 11.0 and later
SDK 4.5 11.1 and later
SDK 4.6 11.2 and later
SDK 4.7 11.3 and later

Is there any particular benefit of mentioning 1.x versions at all?

JSON schemas for the manifest versions

The following idea came after reading Manifest schemas.

Many text editors and IDE:s today have either built in, or can be extended with, support for validating JSON files against a JSON schema. Validating the manifest, given its version, before running the actual build would improve the feedback loop, which is nice.

I would be open to contribute the JSON schemas, given that we decide where they should be published. One alternative would be to publish them on JSON Schema Store, another would be to self-host it them one of our repositories. Each alternative has pros and cons.

Cross platform device discovery tool

On Set up device - Find the device on the network we propose tools that only work on Windows. These tools are really good at what they do, but I think there's room for an officially supported cross platform device discovery tool that we can use on Linux and macOS.

Preferably it would be a discovery tool that adhere to the Linux principles, letting you pipe results and stuff like that, making it easy to integrate the tool into any pipeline you build.

And taking a stand here, it would be much better if this tool was written in Go, published as open source, and maintained in this Axis organization.

Reference in "Application project structure"

In the table describing the manifest file content, there's a reference attached to the parameter called acapPackageConf.setup.embeddedSdkVersion. The reference is assumed to be found under the table, but is instead found at the end of the document, under a chapter called Local data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.