VAPIX API Calls within ACAP Runtime Best Practices #1104
Replies: 4 comments
-
|
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
|
Using VDO is the preferred way :), VideoCapture client does not support view areas: https://github.com/orgs/AxisCommunications/discussions/1087#discussion-8623442 Checkout the vdo C examples. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @edsysteminence , It is possible to get video from a view area using vdo, by using the "channel" key in the settings map, then it is also possible using acap-runtime . But may need to rebuild acap-runtime doing some changes
|
Beta Was this translation helpful? Give feedback.
-
|
Feel free to re-open it OR share the solution/alternative/comment if already resolved👁️🗨️ |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm currently working on an AXIS ACAP project where stream handling is managed by instantiating a
VideoCaptureClientobject and opening a dedicated stream via grpcio as instructed in the relevant documentation.For the next phase of the project however, there's a requirement to use one of the preconfigured View Areas on the AXIS camera. Rather than relying solely on the gRPC approach, I'm considering using the VAPIX API to open an h.264 stream tied specifically to one of these preconfigured view areas executed from within the acap-runtime software running directly on the camera.
Is it considered good practice or more efficient to use VAPIX API calls for this purpose inside the ACAP runtime? If not, what’s the recommended method to access an h.264 stream from a preconfigured view area from within an ACAP application?
Any best practice suggestions or guidance on pitfalls with this approach would be appreciated!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions