Fix set wrong ServerId info payload for PubStop event

pull/220/head
thewind296 2 years ago committed by GitHub
parent 1ba4a538cd
commit c61fc6754e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}

Loading…
Cancel
Save