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

jni::Exception is thrown if a specific device or capability is chosen. #13

Closed
vria opened this issue Mar 3, 2021 · 1 comment
Closed
Assignees

Comments

@vria
Copy link

vria commented Mar 3, 2021

Hello !

commit 1029fe intruduced a bug that prevents to choose a video capture device on the settings page.

Steps to reproduce the behavior:

  1. Go to settings page
  2. Specify any video capture device/capability
  3. Start call
  4. The application crashes

When starting a call right away everything is ok.

Details

The exception is thrown in the method PeerConnectionClient::addVideo at the line videoSource.start(); only if

videoSource.setVideoCaptureDevice(device);
videoSource.setVideoCaptureCapability(capability);

are executed. In other words it happens when device and capability are not null.

Desktop:

  • OS: Ubuntu 20.10
  • All necessary libs are installed: libasound2-dev libpulse-dev libudev-dev libv4l-dev
@devopvoid
Copy link
Owner

This has been fixed with 702e58c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants