RTC Forums

Subscription => Support => Topic started by: m0n0 on October 14, 2010, 11:20:42 PM



Title: Trapping timeout
Post by: m0n0 on October 14, 2010, 11:20:42 PM
Hello Danijel!

First of all, congratulation with v4 release. I didn't check it yet, as current free SDK still very useful, but I probably will move to v4 as soon as JSON-RPC will be added.

Anyway, here's the question. In OnDisconnect event of TRtcConnection descendants is it possible somehow check if this event was called by timeout, and not by any other reason?

Thanks,
Alex


Title: Re: Trapping timeout
Post by: D.Tkalcec (RTC) on October 15, 2010, 06:17:42 AM
Hi Alex,

I have just released an update for the RTC SDK (v4.2010.Q3 Build 402) which adds a new "TimedOut" method to all TRtcConnection component descendants. The new "TimedOut" method will return TRUE if a connection was closed because of a timeout set using the "Timeout" property.

Best Regards,
Danijel Tkalcec