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

Lag when asking for camera permissions #15

Open
austinkettner opened this issue Mar 6, 2019 · 0 comments
Open

Lag when asking for camera permissions #15

austinkettner opened this issue Mar 6, 2019 · 0 comments

Comments

@austinkettner
Copy link
Member

https://www.useloom.com/share/a37875941986437a8bef9691cb4a6f7a
This function is ran on button click

const camerakitSetup = async () => { 
camerakit.Loader.base = '/webm'; 
const devices = await camerakit.getDevices(); 
myStream = await camerakit.createCaptureStream(
{ audio: devices.audio[0], video: devices.video[0], 
fallbackConfig: { base: '/webm', // Point fallback recorder }, }); 
myStream.init(); 
};

After requesting permissions, and clicking allow, the screen freezes for 5-15 seconds.

Reported by DeepHire

@austinkettner austinkettner modified the milestones: 0.2.0, 0.3.0 Mar 6, 2019
@exPHAT exPHAT removed this from the 0.3.0 milestone Mar 26, 2019
@austinkettner austinkettner added this to the 0.4.0 milestone Apr 9, 2019
@exPHAT exPHAT removed this from the 0.4.0 milestone Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants