Bound connection outbound queues

This commit is contained in:
Daniar Mannanov 2026-08-10 23:00:20 +03:00
parent ca019756ec
commit 28c11e2fc2
3 changed files with 246 additions and 19 deletions

View file

@ -25,7 +25,7 @@ const (
// hands chunk streaming off to the background streamer. The streamer stops when
// h.ctx (the connection lifetime context) is cancelled.
func (h *handler) beginPlay() error {
session, err := h.srv.RegisterPlayer(h.conn.Profile, h.conn.Send)
session, err := h.srv.RegisterPlayer(h.conn.Profile, h.conn.Enqueue)
if err != nil {
return err
}