Closed vijayamin83 closed 4 years ago
Thank You for the reverting back.
Unfortunately, I am not getting any alerts like this to allow the video permissions. I have also checked the system settings and from privacy settings, I have enabled the video manually. But still there is the same problem.
Note. I am using Mac Catalina OS latest one.
I have deployed the code through the cloud9 service also. But it's also not working even after I got the successfully message.
@vijayamin83 I removed your demo URL from the comment above and the revision history. If others download your app and use it, you might be charged. To fully remove the URL and associated resources, go to CloudFormation and delete the stack.
In Security & Privacy, make sure you have enabled a checkbox for Camera and Microphone.
For debugging:
.txt
file, zip it, and attach it in this issue. Logs only contain meeting ID and attendee ID.)I have removed the Stacks and everything. Re setup the things, but still getting the same issue. Actually, I am not getting the camera permission for the application in the MAC settings:
See the screen shots:
Any Update?
When the FaceTime camera on my MacBook (Mojave) stopped working, I ran the following command in the Terminal app to reset my camera:
sudo killall VDCAssistant
Could you share your Classroom demo logs by following these steps? I wonder if SDK throws any specific error messages.
You can also try out the Chime SDK browser demo and check if the video is working in a browser. https://github.com/aws/amazon-chime-sdk-js/tree/master/demos/browser
git clone https://github.com/aws/amazon-chime-sdk-js.git
cd amazon-chime-sdk-js/demos/browser
npm run start
Open http://localhost:8080 in your browser, join a meeting, and click the video icon. You should be able to see your own video.
so Here I have attached the log.
Note that when I run the command "yarn dev" I am able to see the video, but when I build the app with the deploy command as per README file, it's not working.
2020-04-26T16:15:47.743Z [ERROR] SDK - failed to get video device for constraints
{"video":{"deviceId":{"exact":"e6e2713277b5db68eff359f515f56de688d4b9e296bf1a7347b396ba83cbcf54"},"width":960,"height":540,"frameRate":15}}:
Could not start video source
2020-04-26T16:15:47.750Z [ERROR] SDK - no video device chosen, stopping local video tile
2020-04-26T16:15:47.755Z [WARN] SDK - could not acquire video input from current device
When you call chooseVideoInputDevice
, Chime SDK invokes navigator.mediaDevices.getUserMedia()
in Web API that asks for the camera permission and returns the camera's MediaStream object if you allowed. In the attached log, the getUserMedia()
API throws the Could not start video source
error (NotReadableError).
Searching NotReadableError: Could not start video source
online... This error can happen if:
Could you check if any application or tool in your macOS is preventing the Electron/downloaded app from accessing camera? The classroom app should appear in this list:
I have tried all possible solutions as above. Downloaded application does not ask for the Camera permissions at all. So, video is not working.
Screen sharing is working properly Note: 1 Downloaded application does not work in the other MAC also 2 application run with "yarn dev" is working fine. 3 Even in the window system it is not working.
Thanks.
Can you change the design when screen share option is enabled. Just like other meeting app?
So, user can view just the stop button at the top of the screen
Unfortunately there doesn't appear to be anything we can do in this demo to resolve the camera issue you are experiencing. According to the logs, the application is unable to access the selected device due to some kind of system-level restriction. Usually this is because of a privacy setting, but as @simmkyu there could be other causes as well.
Closing this issue for now. We can re-open this if we later find there is some way to control this behavior from the application or if we can reproduce this.
Can you change the design when screen share option is enabled. Just like other meeting app? So, user can view just the stop button at the top of the screen
Could you open a new issue for this feature request and provide a little bit more detail on the current behavior compared to the behavior you expect?
I'm having the same error with Xiaomi Redmi 4X and Android 7.1.2.
2020-06-05T11:14:39.191Z [ERROR] SDK - failed to get video device for constraints {"video":{"deviceId": "exact":"6b617456ca056c31ab3ec94ca1a1ca8713425a64bda50f040e84a9f7aa43f3a3"},"width":960,"height":540,"frameRate":15}}: Could not start video source
Nevermind, I have fixed this issue at my end. You need to make the changes in the .plist file
I have successfully deployed the application to the AWS and when I install the /release/app.dmg, it's successfully installed the app in my MacBook.
Also, I can open it and join as teacher or student, but can't turn on the video option.