From c61fc6754e9cd64231b534f4a01849bcae5b79e6 Mon Sep 17 00:00:00 2001 From: thewind296 <81401779+thewind296@users.noreply.github.com> Date: Sat, 3 Sep 2022 19:08:52 +0700 Subject: [PATCH] Fix set wrong ServerId info payload for PubStop event --- pkg/logic/http_notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logic/http_notify.go b/pkg/logic/http_notify.go index a31c88c..679d73b 100644 --- a/pkg/logic/http_notify.go +++ b/pkg/logic/http_notify.go @@ -71,7 +71,7 @@ func (h *HttpNotify) NotifyPubStart(info base.PubStartInfo) { } func (h *HttpNotify) NotifyPubStop(info base.PubStopInfo) { - info.SessionId = h.serverId + info.ServerId = h.serverId h.asyncPost(h.cfg.OnPubStop, info) }