Skip to content

removing overlay not working #762

Closed Answered by vivekatoffice
roomsjesse asked this question in VAPIX
Discussion options

You must be logged in to vote

Hi @roomsjesse ,
You can find the documentation here: Dynamic overlay API.

Basically 'method': 'addText' is to add a new overlay and return the identity for the new overlay created. Then you can use 'method': 'setText' to update the text.

Sample code for your reference:

import requests
from requests.auth import HTTPDigestAuth
import urllib3
import time

# Disable warnings about insecure requests (self-signed certificates, etc.)
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

username = "Vivek"
password = "Kumar"
auth = HTTPDigestAuth(username, password)

# URL for overlay API
url = 'http://10.176.12.130/axis-cgi/dynamicoverlay/dynamicoverlay.cgi'

# Check for existing…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@roomsjesse
Comment options

@vivekatoffice
Comment options

@roomsjesse
Comment options

Answer selected by roomsjesse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
VAPIX
Labels
None yet
2 participants