From 2db5fd487c7995631dda1430a33aee39fd07fe9f Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Fri, 31 May 2024 17:23:22 +0200 Subject: [PATCH] added new urls --- compress/constants.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/compress/constants.go b/compress/constants.go index b191441..c02a555 100644 --- a/compress/constants.go +++ b/compress/constants.go @@ -35,6 +35,24 @@ var ( BULK_EVENTS_CREATE = func() string { return TNGRM_BASE_URL + EVENTS + "/create_bulk" } + RESTREAMER_HLS_START = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/hls/start" + } + RESTREAMER_HLS_STOP = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/hls/stop" + } + RESTREAMER_PUSH_START = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/push/start" + } + RESTREAMER_PUSH_STOP = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/push/stop" + } + RESTREAMER_PULL_START = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/pull/start" + } + RESTREAMER_PULL_STOP = func() string { // instanceName string, streamProtocol string + return TNGRM_BASE_URL + RESTREAMERS + "/pull/stop" + } GET_UPLOADS = func() string { return TNGRM_BASE_URL + UPLOADS }