From 8ba06c8b72e4199048007beb780131accfb06d1e Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Mon, 3 Jun 2024 17:04:34 +0200 Subject: [PATCH] feat: added start and stop restreamer hls --- README.md | 2 -- src/compress/constants.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01b6858..df37698 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,6 @@ The Compress python library provides access to the Compress API for encoding vid - [Installation](#installation) - [Usage](#usage) - - ## Installation You can install Compress-Python using pip: diff --git a/src/compress/constants.py b/src/compress/constants.py index b31992d..dd383a0 100644 --- a/src/compress/constants.py +++ b/src/compress/constants.py @@ -25,7 +25,7 @@ TNGRM_BASE_URL = "https://api-compress.hiway.media/api/v4.0" GET_CATEGORIES = "/external/upload/categories" CREATE_CATEGORY = GET_CATEGORIES + "/create" -# +# restreamer GET_RESTREAMERS = "/external/restreamers" GET_RUNNING_INSTANCES = GET_RESTREAMERS + "/running_instances" GET_RUNNING_SINGLE_INSTANCE = GET_RESTREAMERS + "/single_instance" @@ -36,7 +36,7 @@ RESTREAMER_PUSH_STOP = GET_RESTREAMERS + "/push/stop" RESTREAMER_PULL_START = GET_RESTREAMERS + "/pull/start" RESTREAMER_PULL_STOP = GET_RESTREAMERS + "/pull/stop" -# +# uploads GET_UPLOADS = "/external/upload" GET_SINGLE_UPLOAD = GET_UPLOADS + "/jobid" SET_PUBLISHED_UPLOAD = GET_UPLOADS + "/set_published"