Always forward DTMF data messages. (#2848)

This commit is contained in:
Denys Smirnov
2024-07-10 00:29:49 +03:00
committed by GitHub
parent deee816d0a
commit 40d7a8add0
+1 -3
View File
@@ -1576,9 +1576,7 @@ func (p *ParticipantImpl) onDataMessage(kind livekit.DataPacket_Kind, data []byt
}
shouldForward = true
case *livekit.DataPacket_SipDtmf:
if p.Kind() == livekit.ParticipantInfo_SIP {
shouldForward = true
}
shouldForward = true
case *livekit.DataPacket_Transcription:
if p.Kind() == livekit.ParticipantInfo_AGENT {
shouldForward = true