Merge pull request #220 from thewind296/master

[fix] http-notify: set wrong ServerId info payload for PubStop event
pull/224/head
yoko 2 years ago committed by GitHub
commit a2c3e6ab60
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