From d1cd6357f958727233ff983391c301bdaa58bcea Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Tue, 15 Mar 2022 12:56:37 +0100 Subject: [PATCH] client: fix panic when publishing with UDP --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 2df6bf5e..549916a0 100644 --- a/client.go +++ b/client.go @@ -720,8 +720,8 @@ func (c *Client) playRecordStart() { } for _, cct := range c.tracks { - cct.udpRTPListener.start(true) - cct.udpRTCPListener.start(true) + cct.udpRTPListener.start(false) + cct.udpRTCPListener.start(false) } }