02-23-2015 06:30 AM
Dear all,
I am looking for a way to get the call duration via the Jabber SDK for Voice & Video (cwic). Where can I get this?
Thank you very much for your help,
Kind regards
02-23-2015 09:02 AM
There is no API method for call duration. You could record the call start time, note the end time yourself and then calculate the duration in your app.
Call start: The new Date() when the conversationStart.cwic event was fired for the call.
02-24-2015 12:27 AM
Thank you for your reply Nicholas.
I was actually afraid so, but well, that is what I made so far; created my own counter that starts when recipient picks up the phone (on conversationUpdate, conversation.callState === 'Connected').
Thank you,
Kind regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide