DVEO REST API wrapper for Python
This module tries to make using the DVEO_ REST API easier to use with
Python.
Example of usage:
.. code:: python
from dveo import API dveo = API('203.0.113.12', 'p455w0rd') dveo.system_status()['system']['uptime'] OrderedDict([('days', '20'), ('hours', '7'), ('mins', '51')]) dveo.list_inputs() ['net_stream1', 'net_stream2', 'net_stream3', 'net_stream4', ...] dveo.input_config('net_stream2')['inputname'] 'BigTV' dveo.input_by_output_param('rtmptargeturi', 'acme', partial=True, include_value=True) [('net_stream1', 'rtmp://vid1.acme.net/stream'), ('net_stream2', 'rtmp://stream10.acme.com/rtmp'), ('net_stream3', 'rtmp://stream11.acme.com/rtmp'), ...]
Check out the variables and commands of your DVEO device API on
http(s)://YOURDVEODEVICE:25599/metadata. The URL isn’t protected.
The port is set in the DVEO configuration.
Installation
.. code:: bash
$ pipenv install dveo
Example scripts
In the examples directory you’ll find some implementation examples.
retrieve_stream_settings.pyloads input and output settings for one or more encoders and prints them and writes them to a json file.
Documentation
Find autogenerated documentation at:
Tested platforms
This code has been tested against the following devices:
- MultiStreamer DIG/IP
- Brutus II
- Brutus III
If you have tested this on another device, please let me know.
How to enable API
To enable the REST API on your DVEO device, follow these steps:
-
Log in to web interface.
-
Click on the
SYSTEM SETUPtab. -
Open the
Web Server Setupmenu on the left. -
Select the
API Web Serversubmenu. -
Check the
Enable API Web Serverbox. -
If you choose to set
Enable User SecuritytoYes:Fill in a password at
API User Password (apiuser). -
Click the
Updatebutton. -
Restartthe service in theService Controlmenu to the right. If it’s stopped it’ll be started.
.. _DVEO: https://dveo.com/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dveo-0.2.0.tar.gz.
File metadata
- Download URL: dveo-0.2.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfb64bdea5a89021a695db3c28a9cf87ca8d24e5445944e67e289723615add2
|
|
| MD5 |
ca5258a491fc708b0288200ae327a9cd
|
|
| BLAKE2b-256 |
604c2b8727e836fb6419b9fcd1e190814d1d862537d09a9fdafa36e39cede6ac
|
File details
Details for the file dveo-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dveo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2f6df1ca8ab736c58c266df0c140dffccd0b000517265364059b8af3171544a
|
|
| MD5 |
4cf3efa6ad3b88d9741db646788b6356
|
|
| BLAKE2b-256 |
8b4521e7a5e8597b9445e832796bfe678e2587ffed47ccf5ad0af4495d5784ec
|