Returns video link for the specified camera. If a timestamp is supplied, it links to that time. This is useful for programmaticlly retrieving a video link in dashboard.This negates the need to determine the unique camera URL manually and protects applications from any changes we make to the formatting of this link as API will return the updated URL.
curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -H 'Content-Type: application/json' -X GET 'https://api.meraki.com/api/v0/devices/[serial]/cameras/video_link'
Successful HTTP Status: 200
This already exists and was added a short while back.
This is a new feature called MV Sense that should get you what you need. Limited info on all of this so far from what I can tell.
Yeah, the firmware that enables Sense (MV 3.22) is still in Beta.
@Toogii, you could upgrade your cameras' firmware to MV3.22 and go to the Settings page of each camera to enable Sense and set it up with your MQTT broker, or use the REST API.
Everyone with an MV network on their organization got 10 MV Sense licenses for free, so you can try it out without buying any other license for now. Each camera you enable Sense on counts towards those 10 licenses, which means you can use the people-counting API on 10 of your cameras for free.
Take a look at this page as well, it walks you through the setup process, as well as the API calls:
@omer Thank you very much. We are testing with the Meraki cameras now. I have installed the new beta firmware and enabled the sense. But the REST API isn't working. I mean it is working with other endpoints such as return the video link for specified camera. But not working for Sense endpoints. Can you please advise what could be the reason?
@NolanHerring Thank you very much. But the API request is not working for the camera analytics. Not for sure why. I upgraded the firmware enabled the sense. Other API requests are working normally.
Sorry I am a bit new to the Meraki camera scene.
A few questions:
We have certain events in our customer solutions that we would want a slice of video for.
1. You can only supply the start.
2. Yes, you need valid Dashboard credentials with permissions which would allow you to view that camera and historical video.
3. Not via the API, this must be done in the Dashboard export UI.
I will continue to watch this space!
We have a business need to start recording on one event, stop an another and way to view/store or download just this section of the feed. One of these days I will catch who is messing with my lunch in the fridge at work!
@GeorgeB Can you please advise if 3rd party software vendors can subscribe using REST API to get the live streaming of the selected camera? If this is not available for now, are you planning to enable this in the nearest future, please?