Carloca7
Posts: 1
Joined: Fri Jun 14, 2019 11:54 am

Sending Requests Camera Ip EZVIZ

Fri Jun 14, 2019 12:02 pm

Hi, first of all sorry for my english (im spanish). Im developing a proyect where i could control a camera ip ezviz:

https://www.amazon.es/ezTube-1080P-Estr ... way&sr=8-3

I just know that i can access liveStream with

Code: Select all

"rtsp://admin:[Key]@[dirIP]:554/mainVideo"
I would like if it can be posible to send requests to the camera, like "turn on speaker alarm", "take a picture".

The only code i have is to take a picture:

Code: Select all

import numpy as np
import cv2

cap = cv2.VideoCapture('rtsp://admin:[email protected]:554')

leido, frame = cap.read()

if leido == True:
        cv2.imwrite("foto.png", frame)
        print ("Foto tomada ok")
else:
        print ("Error")

cap.release()

Return to “Networking and servers”