2

I am working on an iOS project that uses the PJSIP library for video and audio calls. I have an Objective-C wrapper that accesses the PJSIP C functions directly. Now, I want to get statistics for each SIP call.

I tried using pjsua_call_get_stream_stat, but it doesn’t return correct values. Currently, I am getting the stats in the on_call_state method when the call ends and the call state is disconnected.

What is the correct way to retrieve call stats, and at what point during the call should I do it?

Thank you!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.