We’re happy to announce that we’ve released a new iOS SDK binary full of some critical bug fixes, feature enhancements, and support for the iPhone 3GS.
To get started, head over to our GitHub repository.
To learn more about what new features are available, read on.
When we launched the iOS SDK, we knew that it was only the beginning of a long journey that we were excited to have finally started. Being available on the iOS family of devices is something that we’ve had on our list since the destination website days.
Now we’ve taken the next in that journey. There are a lot of things still to come with the iOS SDK – mobile-to-mobile p2p support, archiving, and a slew of API enhancements, but in this first iteration we really focused on feedback we got from our early access partners as a thank you for their effort helping us get the iOS SDK out the door.
On to the list:
- Support for the iPhone 3GS – We knew we wanted to support all iOS 5 devices. The problem was we didn’t quite get the performance we needed out of our pipeline to say we could support the iPhone 3GS. But we squeezed, and we squeezed, and now we’re happy to announce that all iOS 5 devices are supported by the OpenTok iOS SDK.
- Camera selection – Set which camera to use on devices with multiple cameras. Doing a scavenger hunt where the users have to show where they are going, make sure the rear-facing camera is selected. Want to build your own button to let people switch cameras – now you can
- Screen capture – This one snuck in (it was really scheduled for July’s release), but you can now take a screen capture of the video that you’re displaying in both the publisher and subscriber views. I’m sure someone will think of a great use for this! To get started with screen capture, all you need is to drop this code into your app:
UIView* videoView = _subscriber.view.videoView;
UIGraphicsBeginImageContextWithOptions(videoView.bounds.size, videoView.opaque, 0.0);
UIImage * img = UIGraphicsGetImageFromCurrentImageContext();
- Customize the UI view – If you want to hide the name, volume, or camera rotation buttons in the views of the publisher and subscriber, now you can!
- We also knocked out some important bugs which were affecting orientation, quality of the video, and did some general clean up, all of which you can read in our Release Notes section of the website.