User Media Camera with CocoonJS

Bugs will be moved here once resolved.

Post » Fri Jun 21, 2013 12:11 pm

Steps to reproduce:
1. instert and setup a normal layout with user media or use the webcam example scene
2. export to cocoonjs
3. load project on any iOS devide

Observed result:
Unable to start any project that has a user media object.

Expected result:
Being able to access the device camera. It used to work on pre R120 releases (at least it wouldn't crash the app)

Browsers affected:
Chrome: no
Firefox: no

Operating system & service pack:
Windows 7 x64
iOS 6

Construct 2 version:
R132
B
5
S
1
Posts: 48
Reputation: 496

Post » Fri Jun 21, 2013 12:36 pm

The User Media object never worked on CocoonJS, because CocoonJS does not support the HTML5 standard for video capture. For a short time we had experimental support using the custom CocoonJS API, but it was buggy (rotated 90 degrees on Android) and didn't support any useful features like taking screenshots. Since it was broken and not useful in any way, we removed support for it.

You're right that it shouldn't break the app just by being present though - that's fixed in the next build, but it still isn't supported.
Scirra Founder
B
397
S
236
G
88
Posts: 24,419
Reputation: 194,542

Post » Fri Jun 21, 2013 12:43 pm

@Ashley thank you for you answer! :) At least now I can move on.
B
5
S
1
Posts: 48
Reputation: 496

Post » Mon Jun 24, 2013 8:58 pm

@Ashley is there any way to use the CocoonJS Camera extension? That seems to do the trick watching the demo but I have no idea how to integrate that in Construct.
B
5
S
1
Posts: 48
Reputation: 496

Post » Mon Jun 24, 2013 10:25 pm

That's what I was talking about when I said we tried it with their custom API, but it was buggy and didn't support any useful features.
Scirra Founder
B
397
S
236
G
88
Posts: 24,419
Reputation: 194,542


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests