Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openvidu demo app not working on ios 13 #350

Closed
cbaechle opened this issue Nov 6, 2019 · 2 comments
Closed

Openvidu demo app not working on ios 13 #350

cbaechle opened this issue Nov 6, 2019 · 2 comments

Comments

@cbaechle
Copy link

cbaechle commented Nov 6, 2019

Openvidu v2.11.0 ionic does not appear to work on ios 13. I tested the demo app successfully on an iPad mini 2 (ios 12). However, it does not work on my iPhone 7 (ios 13) and iPhone 8 (ios 13).

I just did a fresh git clone of the demo/tutorial project about 30 minutes ago so everything should be on the latest version.

2019-11-06 16:00:25.968845-0500 OpenVidu Ionic[4647:1650038] Apache Cordova native platform version 5.0.1 is starting.
2019-11-06 16:00:25.968951-0500 OpenVidu Ionic[4647:1650038] Multi-tasking -> Device: YES, App: YES
2019-11-06 16:00:25.982455-0500 OpenVidu Ionic[4647:1650038] CDVWKWebViewEngine: trying to inject XHR polyfill
2019-11-06 16:00:26.043052-0500 OpenVidu Ionic[4647:1650038] CDVWKWebViewEngine will reload WKWebView if required on resume
2019-11-06 16:00:26.043142-0500 OpenVidu Ionic[4647:1650038] Using Ionic WKWebView
2019-11-06 16:00:26.043359-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][console] 0.046015ms
2019-11-06 16:00:26.043455-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][handleopenurl] 0.050068ms
2019-11-06 16:00:26.044648-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][intentandnavigationfilter] 1.151919ms
2019-11-06 16:00:26.044815-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][gesturehandler] 0.056028ms
2019-11-06 16:00:26.046619-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][statusbar] 1.723886ms
2019-11-06 16:00:26.048029-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][splashscreen] 1.340032ms
2019-11-06 16:00:26.048211-0500 OpenVidu Ionic[4647:1650038] CDVIonicKeyboard: resize mode 1
2019-11-06 16:00:26.048829-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][cdvionickeyboard] 0.722051ms
2019-11-06 16:00:26.049028-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#pluginInitialize()
2019-11-06 16:00:26.075515-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#init()
2019-11-06 16:00:26.075616-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][iosrtcplugin] 26.720047ms
2019-11-06 16:00:26.075661-0500 OpenVidu Ionic[4647:1650038] [CDVTimer][TotalPluginStartup] 32.395005ms
2019-11-06 16:00:26.448234-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#onReset() | doing nothing
2019-11-06 16:00:27.296011-0500 OpenVidu Ionic[4647:1650038] Ionic Native: deviceready event fired after 549 ms
2019-11-06 16:00:27.304425-0500 OpenVidu Ionic[4647:1650038] Initializing iosrct
2019-11-06 16:00:29.697139-0500 OpenVidu Ionic[4647:1650250] [general] Connection to daemon was invalidated
2019-11-06 16:00:31.626728-0500 OpenVidu Ionic[4647:1650038] {"id":"wss://demos.openvidu.io:4443?sessionId=SessionA&token=yme3m0pppanrfhv0&role=PUBLISHER&version=2.11.0&turnUsername=VCPSFZ&turnCredential=kisfrj","session":"SessionA","role":"PUBLISHER","data":"","token":"wss://demos.openvidu.io:4443?sessionId=SessionA&token=yme3m0pppanrfhv0&role=PUBLISHER&version=2.11.0&turnUsername=VCPSFZ&turnCredential=kisfrj"}
2019-11-06 16:00:31.627501-0500 OpenVidu Ionic[4647:1650038] TURN temp credentials [VCPSFZ:kisfrj]
2019-11-06 16:00:32.463506-0500 OpenVidu Ionic[4647:1650038] iOS platform
2019-11-06 16:00:32.477546-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#getUserMedia()
2019-11-06 16:00:32.477863-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call()
2019-11-06 16:00:32.486300-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call() | video authorization: authorized
2019-11-06 16:00:32.490805-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call() | audio authorization: not determined
2019-11-06 16:00:32.493510-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call() | video requested (device not specified)
2019-11-06 16:00:32.524032-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call() | chosen video device: <AVCaptureFigVideoDevice: 0x11de84b00 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]>
2019-11-06 16:00:32.545506-0500 OpenVidu Ionic[4647:1650038] PluginGetUserMedia#call() | audio requested
2019-11-06 16:00:32.546995-0500 OpenVidu Ionic[4647:1650038] PluginMediaStream#init()
2019-11-06 16:00:32.547381-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamTrack#init()
2019-11-06 16:00:32.547628-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamTrack#run() [kind:audio, id:CCB5143A-8768-442C-AF45-35556FEC1B7B]
2019-11-06 16:00:32.547818-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamTrack#init()
2019-11-06 16:00:32.547951-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamTrack#run() [kind:video, id:C2B3B2BA-985C-4CAC-ABA2-72DEDD0F8B6D]
2019-11-06 16:00:32.548006-0500 OpenVidu Ionic[4647:1650038] PluginMediaStream#run()
2019-11-06 16:00:32.554759-0500 OpenVidu Ionic[4647:1650038] THREAD WARNING: ['iosrtcPlugin'] took '77.314941' ms. Plugin should use a background thread.
2019-11-06 16:00:32.562604-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamTrack_setListener()
2019-11-06 16:00:32.562918-0500 OpenVidu Ionic[4647:1650250] PluginMediaStreamTrack#setListener() [kind:audio, id:CCB5143A-8768-442C-AF45-35556FEC1B7B]
2019-11-06 16:00:32.563132-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamTrack_setListener()
2019-11-06 16:00:32.563233-0500 OpenVidu Ionic[4647:1650250] PluginMediaStreamTrack#setListener() [kind:video, id:C2B3B2BA-985C-4CAC-ABA2-72DEDD0F8B6D]
2019-11-06 16:00:32.578510-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStream_addTrack()
2019-11-06 16:00:32.578701-0500 OpenVidu Ionic[4647:1650250] PluginMediaStream#addTrack()
2019-11-06 16:00:32.578891-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStream_addTrack()
2019-11-06 16:00:32.579011-0500 OpenVidu Ionic[4647:1650250] PluginMediaStream#addTrack() | ERROR: audio track not added
2019-11-06 16:00:32.579063-0500 OpenVidu Ionic[4647:1650250] PluginMediaStream#addTrack()
2019-11-06 16:00:32.579218-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStream_setListener()
2019-11-06 16:00:32.579319-0500 OpenVidu Ionic[4647:1650250] PluginMediaStream#addTrack() | ERROR: video track not added
2019-11-06 16:00:32.579842-0500 OpenVidu Ionic[4647:1650250] PluginMediaStream#setListener()
2019-11-06 16:00:32.583871-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamTrack_setEnabled()
2019-11-06 16:00:32.584148-0500 OpenVidu Ionic[4647:1650250] PluginMediaStreamTrack#setEnabled() [kind:audio, id:CCB5143A-8768-442C-AF45-35556FEC1B7B, value:true]
2019-11-06 16:00:32.584343-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamTrack_setEnabled()
2019-11-06 16:00:32.584592-0500 OpenVidu Ionic[4647:1650250] PluginMediaStreamTrack#setEnabled() [kind:video, id:C2B3B2BA-985C-4CAC-ABA2-72DEDD0F8B6D, value:true]
2019-11-06 16:00:32.667116-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#new_MediaStreamRenderer()
2019-11-06 16:00:32.667333-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamRenderer#init()
2019-11-06 16:00:32.688903-0500 OpenVidu Ionic[4647:1650038] Metal GPU Frame Capture Enabled
2019-11-06 16:00:32.689292-0500 OpenVidu Ionic[4647:1650038] Metal API Validation Enabled
2019-11-06 16:00:32.775832-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamRenderer#run()
2019-11-06 16:00:32.775936-0500 OpenVidu Ionic[4647:1650038] THREAD WARNING: ['iosrtcPlugin'] took '108.854004' ms. Plugin should use a background thread.
2019-11-06 16:00:32.776295-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamRenderer_refresh()
2019-11-06 16:00:32.776481-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamRenderer#refresh() [elementLeft:0.0, elementTop:0.0, elementWidth:0.0, elementHeight:0.0, videoViewWidth:0.0, videoViewHeight:0.0, visible:false, opacity:1.0, zIndex:0.0, mirrored:false, clip:true, borderRadius:0.0]
2019-11-06 16:00:32.776776-0500 OpenVidu Ionic[4647:1650038] iosrtcPlugin#MediaStreamRenderer_render()
2019-11-06 16:00:32.776898-0500 OpenVidu Ionic[4647:1650038] PluginMediaStreamRenderer#render()
2019-11-06 16:00:32.779371-0500 OpenVidu Ionic[4647:1650038] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2815cebe0> to GL_RENDERBUFFER 1
2019-11-06 16:00:32.779881-0500 OpenVidu Ionic[4647:1650038] Failed to make complete framebuffer object 8cd6

@pabloFuente
Copy link
Member

Are you talking about openvidu-ionic tutorial? It is important to specify which framework is causing trouble, beacuse iOS is supported through Ionic, but also through React Native and through Safari browser.

If you are refering to Ionic tutorial, then what's probably causing the problem is cordova-plugin-iosrtc library. Version 6.0.x should work fine in iOS 13 accordng to their release notes: cordova-rtc/cordova-plugin-iosrtc#425

But it must be updated and tested in the Ionic tutorial.

@cbaechle
Copy link
Author

I was referring to the tutorial This worked. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants