Can you get a static image from the Nest Camera? - nest-api

I've been able to connect to the Nest API and correctly get information about my Camera, however, there seems to be no way to get a static image from the camera. My user account does not have a subscription. I'm not looking for past data as I know that is not available for a user with no subscription, but as the camera is live online, I was surprised I couldn't see anything in the API for getting the current image.

Currently there is no way to capture a live image on demand. Images and animated gifs are available when events are triggered, but as you noticed are only available to cameras with Nest Aware subscription.

Related

How to live stream images in browser?

I am trying to create an app to mirror my phone's screen in a e-book reader's browser.
The idea is to continuously make screenshots and make them available from http server running on the phone.
So far I have succeeded in having an http server running on the phone and sharing the latest screenshot.
Now I would like to update the image in the browser automatically - which mechanics should I use - should the website pull the image every x milliseconds or can I push the changes from the server? The image transition should happen smoothly. The e-book's browser is somehow limited, for example it doesn't support html5-video and probably many other things.
I am using the basic dart httpServer (because my app is in flutter) and would prefer to keep it basic.
For testing I had a png Screenshot, but I would also like to optimize for greyscale and maybe try to do something with canvas (don't have experience here) if the browser supports it.
Main questions:
-is there an easy way to push changes from server to browser?
-how do I achieve a smooth transition between images (and skip refresh if the image didn't change)?
-which alternatives are there to using images?
-can canvas help me somehow?
I think the best thing to use here is WebRTC. The browser provides getDisplayMedia that allows you to either capture a tab or the whole display of a device.
You can then connect your two devices, and stream the capture live. The other nice thing is that it will be P2P and you should see sub-second latency (and you don't have the added complexity of running a HTTP server).
All you need is a signaling server to send the Offer/Answer/ICE Candidates between the two peers. These messages are just 'bootstrap' details to get the call started.
If getDisplayMedia doesn't work on the device you can add WebRTC via a native app. flutter-webrtc is one possible solution.

Is there way to use High Quality mode via Google Photos API?

I`m software developer and trying to upload some videos using Google Photo API, but I want to set up "High quality mode" of such videos programmatically.
So, the point is that my app must upload videos without user participation every 15 GiB.
Could anybody advice to me - how to do it?
Thanks for help!
All media items uploaded to Google Photos using the API are stored in full resolution at original quality. They count toward the user’s storage.
check here: https://developers.google.com/photos/library/guides/api-limits-quotas

Can Azure Media Services be used to overlay a custom watermark that's different for each person?

We've been asked if we can help a client stream uploaded video files while overlaying a unique watermark per user, eg, their email address or username. Security on the stream needs to be good, but not necessarily ironclad. That is, enough to put someone off trying to grab the bits outside of the player (so some encryption is very helpful), while the overlay would hopefully make it clear that re-recording it, or saving the file, would help us track the perpetrator.
I was hoping some combo of Azure Media Services and the Azure Media Player might be able to do something like this, but for the life of me I can't find anything online about it.
We're not wedded to Azure if it's not possible using that service but is through an alternative.
Thanks so much for your help. It feels like this shouldn't be a unique request, but I can't find anything on Google. Maybe my search terms are letting me down.
It really depends if you are trying to do server side watermarking or client side watermarking. Currently Azure Media Services doesn't have support for server side watermarking.
However, this is easily achieved on the client side with Azure Media Player -> because the player uses HTML elements, you can easily add an additional HTML element for your overlay and style it with CSS to display the required information.

Advice on having videos on the device vs an alternative

I am working on an App that will have a bunch of pictures and videos the user will need to have. The app's mantra is having these videos and pictures available on demand and on the go. However, I am concerned about the app being too fat (big), in essence turning off some customers who prioritize size over substance. The preference has always been to have the customer be able to access these videos from anywhere regardless of 3g/wifi (i.e. local on the device). What are the really good options? Assuming I choose to elect to go the non-local route (i.e. using wifi/3g), what are my options there as well? Please advice. The size of the videos/pics could be up to 1.5GB.
The usual approach seems to be to download and store the videos on demand. A lot of the apps I've seen allow the user to manage the stored videos themselves so that they can remove videos if they aren't going to use them again.

IIS Smooth Streaming encoding with Azure?

I'm working on a project for teachers and students to be able to have a medium to interact with one another using Azure as a medium for content delivery. However, since this is basically a free service (and a non-profit site), not every teacher can buy a copy of Encoder Pro to encode their streams.
This is where I'm at a crossroads and not sure what path to go down. I want teachers to be able to stream their desktops and interact with students, probably using the MSN chat services or facebook chat services since it's infrastructure that I don't need to pay for. However, additionally the question is how do they capture their desktop? And would Azure be able to convert that into a "smooth streaming" file, so that people with lower bandwith connections can see the stream reliabily? I know Azure can function as a CDN, but I'm not sure if it can do the conversion to live smooth streaming so that students can actually make use of the service.
Any ideas would be helpful.. I'm kind of brainstorming right now and working on the client end of things, but I've slowed down until I can figure out this problem.
Thanks!
To answer part of your question, Azure recently added a Media Services component. It's still in preview mode (free for now). Think of it as a hosted Expression Encoder Pro exposed with a bunch of APIs. For more info https://www.windowsazure.com/en-us/develop/net/how-to-guides/media-services/

Resources