Use the OpenTok SDK for ping.

I would prefer to change all `cb` to `callback` instead to be more explicit what do you think?