From f055ec97e200c3fd66d5a17aea309b0847ca05a0 Mon Sep 17 00:00:00 2001 From: cheetah Date: Wed, 13 Sep 2023 20:16:24 +0000 Subject: [PATCH] added RTPConnected() --- common/terminalClient.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/terminalClient.go b/common/terminalClient.go index e52826b..a424b78 100644 --- a/common/terminalClient.go +++ b/common/terminalClient.go @@ -274,6 +274,12 @@ func (tc *TerminalClient) RTPSend(data []byte) (err error) { } return nil } +func (tc *TerminalClient) RTPConnected() bool { + if tc.udpRTP_TX != nil { + return true + } + return false +} /* groupAddr := common.NewAddressFromSSINumber(103)