Closed XavierTM closed 2 years ago
@XavierTM you have not read the README properly, you need to call "cordova.plugins.iosrtc.registerGlobals();" to expose WebRTC APIs, see end of "Usage" https://github.com/cordova-rtc/cordova-plugin-iosrtc#usage and sample application source https://github.com/cordova-rtc/cordova-plugin-iosrtc-sample/blob/master/www/js/common.js#L642
@hthetiot Thank you, I missed that.
Versions affected
Description
I wrote the code below(in the steps to reproduce section) in my
index.js
, the one that is created initially whencordova create
. The objectnavigator.mediaDevices
is not defined.Steps to reproduce
Then edit
app/www/js/index.js
to the following contents:Then run
Expected results
I expected the video to be streamed into the
<video>
tagActual results