Investigation of an Unofficial Ring's API- Part 3
Starting a Live Stream
Start Live View:
curl -H ‘Host: api.ring.com’ -H ‘Content-Type: application/json’ -H ‘Accept: /’ -H ‘User-Agent: Ring/0.67 (Mac OS X Version 10.12.4 (Build 16E195))’ -H ‘Accept-Language: en-US;q=1’ –data-binary ‘{“api_version”:”10”,”auth_token”:”[insert Auth Token]“}’ –compressed ‘https://api.ring.com/clients_api/doorbots/[device id for wanted live view]/vod’
Actually Connect to Video stream(same call to check for active video feeds):
curl -H ‘Host: api.ring.com’ -H ‘X-API-LANG: en’ -H ‘Accept: /’ -H ‘User-Agent: Ring/0.67 (Mac OS X Version 10.12.4 (Build 16E195))’ -H ‘Accept-Language: en-US;q=1’ –compressed ‘https://api.ring.com/clients_api/dings/active?api_version=10&auth_token=[insert Auth Token]&burst=1’
End the Stream:
curl -H ‘Host: api.ring.com’ -H ‘Content-Type: application/json’ -H ‘Accept: /’ -H ‘User-Agent: Ring/0.67 (Mac OS X Version 10.12.4 (Build 16E195))’ -H ‘Accept-Language: en-US;q=1’ –data-binary ‘{“api_version”:”10”,”auth_token”:”[insert Auth Token]”}’ –compressed ‘https://api.ring.com/clients_api/dings/[insert call id]/hang-up’
Sends client Device Media Data:
curl -H ‘Host: api.ring.com’ -H ‘Content-Type: application/json’ -H ‘Accept: /’ -H ‘User-Agent: Ring/0.67 (Mac OS X Version 10.12.4 (Build 16E195))’ -H ‘Accept-Language: en-US;q=1’ –data-binary ‘{“api_version”:”10”,”connection”:{“client_device_metadata”:{“min_bandwith_audio_out”:0,”min_bandwith_audio_in”:0,”tags”:0,”min_bandwith_video_out”:0,”max_bandwith_audio_in”:0,”retries”:0,”max_bandwith_video_in”:0,”always_wifi”:0,”first_video_frame_time”:0,”relative_time”:0,”avg_bandwith_audio_in”:0,”min_bandwith_video_in”:0,”video_rtp_data_time”:0,”sip_connection_time”:0,”quality”:0,”max_bandwith_audio_out”:0,”offset”:0,”avg_bandwith_audio_out”:0,”max_bandwith_video_out”:0,”app_open_time”:0,”ding_info_received”:0,”avg_bandwith_video_out”:0,”avg_bandwith_video_in”:0,”absolute_time”:0}},”auth_token”:”[auth token]“}’ -X PUT –compressed ‘https://api.ring.com/clients_api/dings/[ding id]/connection’
I