Try OpenWebRTC they have already built this and as it is Opensource you can use this for your project as well.
In the AppDelegate we need to initialise OpenWebRTC:
@implementation SimpleDemoAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[OpenWebRTCViewController initOpenWebRTC];
return YES;
}
@end
Initialising the OpenWebRTC WebView in the view controller
self.browserView = [[OpenWebRTCWebView alloc] initWithFrame:self.view.frame];
[self.view addSubview:self.browserView];
Loading the page is as simple as
- (void)viewDidLoad
{
[super viewDidLoad];
[self loadRequestWithURL:@"http://demo.openwebrtc.io"];
}
They have supported all the unsupported WebRTC APIs natively.
Here is the link that explains on how to go about implementing the OpenWebRTC in iOS Project step by step.
There is a web browser called Bowser has been built on top of OpenWebRTC framework. So you can Open any webrtc supported web apps in the Bowser and it'll work because the unsupported APIs are supported natively using OpenWebRTC framework.
It's not only free app but also OpenSource Project and it has been hosted in Github.You can check the source code on how they have implemented.
You can use this as a reference app for developing your project