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

Custom resolution of outcome video do not work! #201

Open
lecong opened this issue Aug 20, 2021 · 1 comment
Open

Custom resolution of outcome video do not work! #201

lecong opened this issue Aug 20, 2021 · 1 comment
Labels
bug Something isn't working medium priority

Comments

@lecong
Copy link

lecong commented Aug 20, 2021

Hi,

I want to share camera with different resolutions by changing width, height and frameRate according to below code:

final Map<String, dynamic> mediaConstraints = {
      'audio': true,
      'video': {
        'width: <width>,
        'height': <height>,
        'frameRate': <frameRate (10-60)>,
        'facingMode': 'user',
        'optional': [],
      }
};
MediaStream stream = await navigator.mediaDevices
        .getUserMedia(mediaConstraints)
        .catchError((e) {
      Log.error("An error occurred while trying to open a webcam stream: '$e'");
});

but it not work!

How to share camera width different resolutions?

@lecong lecong added bug Something isn't working new A new issue! labels Aug 20, 2021
@bennyboer
Copy link
Owner

As I recall we tried that as well, but it seems to be ignored no matter what values are passed there. It may be either a problem with flutter_webrtc or with BBB itself, but we had no time to research there.

@bennyboer bennyboer added medium priority and removed new A new issue! labels Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority
Projects
None yet
Development

No branches or pull requests

2 participants