twisitor icon indicating copy to clipboard operation
twisitor copied to clipboard

Twisitor broken using latest Chrome builds

Open caniszczyk opened this issue 12 years ago • 2 comments

Not sure why yet.

caniszczyk avatar Aug 22 '13 15:08 caniszczyk

I looked into this issue and while debugging found the camera issue was due to the error in getUserMedia method in Camera.js. The exception thrown was

NavigatorUserMediaError constraintName: "" message: "" name: "PermissionDeniedError" proto: NavigatorUserMediaError

The Permission Denied message isn't because the client didn't authenticate the request to access the camera, I had this cross checked.

I searched for related issues on newer Chrome versions and found out this was a common issue starting with v28 - http://stackoverflow.com/questions/18074221/chrome-28-app-getusermedia-permission-denied

One of the solutions mentioned for the same issue was to add videoCapture permission in the manifest. This wouldn't work as the videoCapture now works with packaged apps only and twisitor package would be a legacy app (http://developer.chrome.com/extensions/apps)

rsz_screenshot_from_2014-03-12_103635

The best solution to this problem is to restructure the code for an chrome app (http://developer.chrome.com/apps/about_apps) instead, using flight , which would ensure further support and developers could leverage more comprehensive apis (http://developer.chrome.com/apps/declare_permissions)

Any thoughts?

khare-ashwini avatar Mar 12 '14 05:03 khare-ashwini

+1 to restructuring Twisitor as a chrome app + using flight

caniszczyk avatar Mar 12 '14 14:03 caniszczyk