webcam / mic in browser widget

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

webcam / mic in browser widget

Post by makeshyft » Fri Oct 27, 2017 6:44 pm

Hi folks, will access to the webcam / mic ever work inside a browser widget?

Whats the story / limitation with that?

Thanks,

Tom
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: webcam / mic in browser widget

Post by [-hh] » Sun Oct 29, 2017 1:12 am

Fortunately, this is meanwhile the same "problem" for all browsers (and thus the browser widget):
There is no way to get access without user's permission.

So you have to find a cross browser solution (javascript) that matches your needs, for example https://github.com/jhuckaby/webcamjs
and then can use that from LC by doing javascript in the widget.
shiftLock happens

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: webcam / mic in browser widget

Post by makeshyft » Mon Oct 30, 2017 4:31 am

thank you i will look into this possible workaround thanks
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Monox18
Posts: 118
Joined: Tue Nov 25, 2014 9:48 pm
Location: Deggendorf, Germany

Re: webcam / mic in browser widget

Post by Monox18 » Fri Dec 11, 2020 2:43 pm

A couple years have passed by and I hope there is a solution for this. How can the user give permission? Normally, when accessing a website that requires some permissions it will prompt you a permission request dialog. The user clicks Allow and that's done. LC doesn't show the give permission popup window. Any ideas of how to show that popup?
[-hh] wrote:
Sun Oct 29, 2017 1:12 am
There is no way to get access without user's permission.
Monox
Developing a Cyber Physical System.
https://www.monoxware.com/

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”