Skip to content

Commit

Permalink
added new urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored May 31, 2024
1 parent daeb963 commit 2db5fd4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions compress/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2db5fd4

Please sign in to comment.