Always forward DTMF data messages. (#2848)
This commit is contained in:
@@ -1576,9 +1576,7 @@ func (p *ParticipantImpl) onDataMessage(kind livekit.DataPacket_Kind, data []byt
|
|||||||
}
|
}
|
||||||
shouldForward = true
|
shouldForward = true
|
||||||
case *livekit.DataPacket_SipDtmf:
|
case *livekit.DataPacket_SipDtmf:
|
||||||
if p.Kind() == livekit.ParticipantInfo_SIP {
|
shouldForward = true
|
||||||
shouldForward = true
|
|
||||||
}
|
|
||||||
case *livekit.DataPacket_Transcription:
|
case *livekit.DataPacket_Transcription:
|
||||||
if p.Kind() == livekit.ParticipantInfo_AGENT {
|
if p.Kind() == livekit.ParticipantInfo_AGENT {
|
||||||
shouldForward = true
|
shouldForward = true
|
||||||
|
|||||||
Reference in New Issue
Block a user