Closed ibrahimdn closed 1 week ago
You can check the current call. Just write the code below where you want to show whether the user is talking on the phone or not.
if let currentCall = linphone_core_get_current_call(lc) {
// There is an ongoing call so you can access it.
} else {
// There is no call
}
`let callStateChanged: LinphoneCoreCallStateChangedCb = { (lc: Optional, call: Optional, callSate: LinphoneCallState, message: Optional<UnsafePointer>) in
}`
Ihi, I want to show you whether the user is talking on the phone.