WebRTC Solutions Featured Article

OpenWebRTC 0.3 of iOS SKD is Available

November 11, 2015

Let’s face it: the goal of WebRTC is to be available, or at least interoperable, “E”verywhere.  As has been pointed out on the WebRTC Solutions Community site many times, the history of communications technology is that all boats rise when the tide comes in. This has been true whether discussing first telephony or things like facsimile, email and SMS. It has also been one of the challenges of universal unified communications (UC) adoption and use. 

I bring this up because there is not universal browser support of WebRTC, notably from Apple, and having the ability to bring Apple users into the WebRTC fold is important.  For more on this, check out the latest blog from OpenWebRTC.

For those unfamiliar, OpenWebRTC is based on transcending WebRTC usage only in a pure browser environment, so that native apps can implement the same protocols and API's. This has become critically important in the mobile world where users increasingly prefer apps to browsers for interactions. The initial version of the OpenWebRTC was developed internally at Ericsson Research and OpenWebRTC and Bowser were released publicly as free and Open Source in October of 2014. The utility here is that Native OpenWebRTC apps can either talk to other native apps or browsers that support WebRTC. Plus, OpenWebRTC can also provide the WebRTC-backend to web browsers. 

Image via Shutterstock

As the blog details, OpenWebRTC has updated the The OpenWebRTC iOS SDK. In version 0.3, changes have been introduced in the Native callbacks of OpenWebRTCNativeHandlerDelegate:

- (void)gotLocalSources:(NSArray *)sources;

- (void)gotRemoteSource:(NSDictionary *)source;

The blog provides specifics on the updated API which not only provides more rich information about the sources, where the old API only provided names of the sources.  In addition, the group cites as the reason for the update as the desirability of changing which camera (front or back) is used during a session.  This may sound trivial, but for anyone who has watched how often the digitally adept switch camera views this is more than a change at the margins.

The blog also describes additional API's that have been introduced in OpenWebRTCNativeHandler. For readers who like tech talk, these additions include:

  • (void)setVideoCaptureSourceByName:(NSString *)name;
  • (void)videoView:(OpenWebRTCVideoView *)videoView setVideoRotation:(NSInteger)degrees;
  • (void)videoView:(OpenWebRTCVideoView *)videoView setMirrored:(BOOL)isMirrored;
  • (NSInteger)rotationForVideoView:(OpenWebRTCVideoView *)videoView;

The SDK is installed through CocoaPods: pod 'OpenWebRTC-SDK',  :git => 'https://github.com/EricssonResearch/openwebrtc-ios-sdk.git'

In short, living up to the goal of WebRTC having universal utility, bringing as much WebRTC functionality into the iOS world is important, and the upgrades are a welcome addition for the entire WebRTC ecosystem. 




Edited by Kyle Piscioniere

Article comments powered by Disqus