that protocol seems to be RTP (which from a preliminary look, should be easy to convert to just about any video format). SIP is just an "initiation" protocol, all it does is setup another protocol which actually streams the data. I also managed to capture a full session using wireshark while i was testing with the Blink SIP client (don't want to share that publicly as i'm pretty sure the ring exposes enough info to let anyone connect to my camera in this communication). So I've been doing some reading up on SIP ( RFC 3261 and RFC 6665 are the big ones used). Okay, i'm finally beginning to get this figured out. So TL DR: it does look like this is possible, but it's not going to be all that easy, and it's probably way outside my ability in python. With that it might be possible to grab a raw video stream out. I'm not the most versed in python, but there does seem to be a library for SIP in python that could be possibly used here. I'll have to see if I can test this at another point, but I have a feeling it will work the same as I have been watching the stream on my phone (through the official app) while my wife tests it and it rang her phone, so I'm assuming it will work correctly. The doorbell still works while it's streaming, however i'm not sure if notifications will still go off on the phone when you are using it. It seems that the expires_in field is in seconds, and it varies, requiring you to grab a new stream when it expires and maybe stitch them together at some point? The stream returned from live_streaming_json expires in about 3 minutes for me. so i'm guessing that these videos are being sent across the net entirely un-encrypted.) I'm able to grab the video and audio using an SIP program (interestingly enough the stream only works without encryption. Set WshShell = WScript.CreateObject(“WScript.I'm looking into this a bit more. The script below is set for a 4 camera system only (Tabs 18 times before sending the space character to restart Live View): I’m looking for beta testers if anyone is interested who has Windows 10 and a PC that can just sit and monitor Live View all day.īasically, all the script does is it waits 10 minutes and then sends a space to press the Live View button, you can then set it up to repeat the process over and over so it just keeps clicking the Live View button every 10 minutes so you don’t have to with a mouse click. I’ll be adding in a loop feature at the end (currently I just copy the lines over a bunch of times to simulate the loop). Right now, the script runs and then shows a blank white screen for about 30 seconds and then launches Live View. (600000 is exactly 10 minutes but you have to account for connection delays, etc.) 629000 is very close to 10 minutes although I will be shortening the amount to get closer to 10 minutes even. Here is what I have been testing so far and it works for hours. For example, 5 cameras would equal 19 TAB key presses to get to Live View, 6 cameras would be TAB 20, etc. That way, you can watch it press each Tab key in slow motion until you get the exact number you need. Note: If you aren’t certain how many Tab keypresses you need to get to the Live View button, you can slow down the process by just using a Sleep 1500 and and repeat the process for the number of TAB presses you think you need. Set WshShell = WScript.CreateObject(“WScript.Shell”) In my set up it takes the automation of the Tab key being pressed 18 times in a row (designated with a SendKeys of TAB 18) followed by a space key press in the example below. If I launch the Ring app and then click on just the first camera view photo thumbnail and then go back to Windows Explorer and run the script, the following will then jog through the selections and then hit the Space bar to click on the Live View button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |