From 0ff3bf67e1c1db0cf853c46942e28d92727895e5 Mon Sep 17 00:00:00 2001 From: seydx Date: Mon, 27 Oct 2025 23:57:14 +0100 Subject: [PATCH] Comment out MQTT speaker message sending in AddTrack function --- pkg/tuya/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/tuya/client.go b/pkg/tuya/client.go index 6fb3222b..a7e43061 100644 --- a/pkg/tuya/client.go +++ b/pkg/tuya/client.go @@ -339,10 +339,10 @@ func (c *Client) AddTrack(media *core.Media, codec *core.Codec, track *core.Rece return errors.New("webrtc: can't get track") } - mqttClient := c.api.GetMqtt() - if mqttClient != nil { - _ = mqttClient.SendSpeaker(1) - } + // mqttClient := c.api.GetMqtt() + // if mqttClient != nil { + // _ = mqttClient.SendSpeaker(1) + // } payloadType := codec.PayloadType