From dc9d6db5855f04e51a31c09584c1ef080e76b94d Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Thu, 6 Jun 2024 11:58:12 +0200 Subject: [PATCH] solve --- compress/api_restreamer.go | 2 +- compress/compress.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compress/api_restreamer.go b/compress/api_restreamer.go index e129008..11d48f0 100644 --- a/compress/api_restreamer.go +++ b/compress/api_restreamer.go @@ -151,7 +151,7 @@ func (o *compress) RestreamerHlsStart(instanceName string, streamProtocol string -func (o *compress) RestreamerHlsStop(request hlsBodyRequest) (*HlsResponse, error){ +func (o *compress) RestreamerHlsStop(instanceName string, streamProtocol string) (*HlsResponse, error){ requestBody := &hlsBodyRequest{ BaseModel: BaseModel{ClientId: o.GetCliendId(), ApiKey: o.apiKey}, InstanceName: instanceName, diff --git a/compress/compress.go b/compress/compress.go index a4c4efd..f111321 100644 --- a/compress/compress.go +++ b/compress/compress.go @@ -26,7 +26,7 @@ type ICompress interface { ScaleRestreamer(instanceName string, scale int) (*ResponseServer, error) CreateEventsBulk(request []InstancesEventCreate) (*ResponseServer, error) RestreamerHlsStart(instanceName string, streamProtocol string) (*HlsResponse, error) - RestreamerHlsStop(requinstanceName string, streamProtocol string) (*HlsResponse, error) + RestreamerHlsStop(instanceName string, streamProtocol string) (*HlsResponse, error) RestreamerEventsHistory( startFrom int, amount int) ([]RestreamerEvent, error) GetCustomerS3Zone() (*CustomerS3, error) GenerateVodProxy(request generateVodRequest) (*generateVodResponse, error)