Is it possible to record audio using getUserMedia when the HTML page runs inside WKWebView or UIWebView in an iOS app?
I tried the test page Recording audio in Chrome for Android using web audio API and navigator.getUserMedia, loading it to a WKWebView
by
- (void)viewDidLoad {
[super viewDidLoad];
WKWebView *w = [WKWebView new];
self.view = w;
[w loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://jsfiddle.net/JCFtK/embedded/result/"]]];
}
but the record button does not seem to do anything.
Then I tried Recorder.js and loading the sample page. It says navigator.getUserMedia not present!
and I can't continue.
So is there anything I can do to configure WKWebView
so that it accepts getUserMedia
or is it not supported at all?
P.S. I am a newbie in iOS things.