cordova-rtc / cordova-plugin-iosrtc

Cordova iOS plugin exposing the WebRTC W3C API
MIT License
688 stars 340 forks source link

video streaming issue using iphone camera #490

Closed andaniel2029 closed 4 years ago

andaniel2029 commented 4 years ago

Hello.

I am using this plugin for video streaming from iphone camera.

I installed this pluginin in my IONIC5/Angular 9 project.

But when i load page, it displays white screen only.

When i debug that page, stream variable had some contents.

Hope your help quickly.

Thank you.

hthetiot commented 4 years ago

Did you initialize the plugin like this:

// Note: This allow this sample to run on any Browser
  var cordova = window.cordova;
  if (cordova && cordova.plugins && cordova.plugins.iosrtc) {

    // Expose WebRTC and GetUserMedia SHIM as Globals (Optional)
    // Alternatively WebRTC API will be inside cordova.plugins.iosrtc namespace
    cordova.plugins.iosrtc.registerGlobals();

    // Enable iosrtc debug (Optional)
    cordova.plugins.iosrtc.debug.enable('*', true);
  }
hthetiot commented 4 years ago

cc @andaniel2029

hthetiot commented 4 years ago

Hope your help quickly.

For that you should have followed up on the issue. We are not at your service, if you want your issue to be solved, you need to provide proper details.

Beause of the lack of code to reproduce and follow-up from the reporter I will asume the issue is between the char and the keyboard.