temporary opened pub_start
parent
ea6c615be0
commit
f2e2d13b9a
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue