From f2e2d13b9aac6799f11a9745d4ded41b3c30c62f Mon Sep 17 00:00:00 2001 From: nilo Date: Wed, 6 Nov 2024 22:02:45 -0300 Subject: [PATCH] temporary opened pub_start --- controllers/webhookController.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/webhookController.go b/controllers/webhookController.go index 6707ed8..e01f004 100644 --- a/controllers/webhookController.go +++ b/controllers/webhookController.go @@ -111,10 +111,10 @@ func OnPubStart(c *fiber.Ctx) error { log.Printf("Start StreamName %s, UrlParam %s, SessionId %s\n", p.StreamName, p.UrlParam, p.SessionId) // TODO: Verify if the key is correct. If not, Kick the Session. - KickSession(p.StreamName, p.SessionId) - return fiber.ErrForbidden + // KickSession(p.StreamName, p.SessionId) + // return fiber.ErrForbidden - // return c.SendString("On_Pub_Start: " + string(c.Body())) + return c.SendString("On_Pub_Start: " + string(c.Body())) } func OnPubStop(c *fiber.Ctx) error {