triniwiz / nativescript-webrtc

Apache License 2.0
42 stars 25 forks source link

[Android] Requesting only audio stream causes error #19

Closed wwdd1 closed 5 years ago

wwdd1 commented 5 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

I want to request only audio stream to create audio call between two users. Defining constraints as const constraints = new TNSRTCMediaStreamConstraints(true, false) and then passing it to getUserMedia(constraints) causes crash on android devices.

Error: Screenshot_20190522-115026