Reputation: 519
I'm new to iPhone.I'm developing an application which contains video calling facility, For reference I have downloaded sample from https://github.com/opentok/OpenTok-iOS-Basic-Tutorial
I have added OpenTok framework. I'm running it im simulator but the application crashes with error Program received signal:SIGABRT.
It is not being able to establish connection
can any one suggest me how can i do this using other framework?
Thanks
Upvotes: 3
Views: 905
Reputation: 2092
Without any logs, I can only guess what the problem might be. It would be more helpful if you posted some logs.
Like 0x7ff... said, OpenTok needs a device to work properly because it needs the camera to be able to publish
invalid credentials should not be causing crashes, but you should still make sure your sessionId and token are valid. Keep in mind that tokens expire after 24 hours unless specified otherwise
Make sure you are deploying to a device that is supported
If you are cloning from the basic tutorial, simply downloading the zip file will not work because the sdk is not downloaded with it. You would have to download the OpenTok SDK and place it in the appropriate folder.
Alternatively, you can run `git clone --recursive https://github.com/opentok/OpenTok-iOS-Basic-Tutorial' in your terminal.
These are all the reasons I can think of
Upvotes: 1