Comments (10)
I'm on it. Will test the mac version this week and comment on this issue.
from webrtc-java.
I started to create wiki pages for this library. There is a wiki page for media devices. Right now, the Java API does not have methods implemented to retrieve the default device of the OS. BUT, the native code does have an implementation which works at least for Windows and macOS, Linux not tested with default devices.
Will add these methods to the Java implementation.
from webrtc-java.
Thanks a lot for the quick response.
from webrtc-java.
@devopvoid 0.6 resolve this?
from webrtc-java.
The version 0.6.0 should resolve this issue.
MediaDevices.getDefaultAudioRenderDevice();
(e.g. speaker)
MediaDevices.getDefaultAudioCaptureDevice();
(e.g. microphone)
Please let me know if this works for you.
from webrtc-java.
It works for me. I'm tested this on Win10.
But on MacOS getDeafultAudioRenderDevice() return empty device name if used embedded speaker.
from webrtc-java.
Hello, dear friend!
Thanks again for the great work done.
I continue to investigate the WebRTC library in more detail and found the following problems with getting a list of devices.
Problems concern macOS:
- The "deviceConnected" and "deviceDisconnected" method of the DeviceChange Listener interface returns an empty name if it has Cyrillic characters. The problem is clearly in the encoding
- The AudioDeviceModule method.getPlayoutDevices() returns the device names correctly, but the descriptor values are missing.
- The number of devices that mediaDevices and AudioDeviceModule returns is different.
This leads to the fact that it is not always possible to correctly install the connected device in the DeviceChangeListener event
I attach a screenshot that shows everything described above.
from webrtc-java.
Hello @devopvoid
This issue fix in next version?
from webrtc-java.
The latest snapshot now works with Cyrillic and other characters.
from webrtc-java.
Thanks for the fix for the Cyrillic problem. Please tell me, has anything been done with the fact that all capture devices and playout devices guid returned as null when received through AudioDeviceModule? This behavior is only on MacOS. On win10 everything is fine. In our correspondence above I attached a screenshot where you can see it.
Thank you in advance for the answer!
from webrtc-java.
Related Issues (20)
- Receiving media data from client HOT 3
- if can? GainControl provide kAgcModeAdaptiveAnalog mode? HOT 1
- mvn install failed HOT 8
- Support linux-aarch64 HOT 1
- The offer I created cannot be saved, why is that?
- How to use WebRTC-Java to implement the server to push the UDP message on multiple browsers
- when demo will be publishes HOT 1
- Video cannot be obtained from the SRS service HOT 2
- Error in C++ Standard Library usage.
- Load library 'webrtc-java' failed
- Could you please provide APIs for encoding/decoding and audio mixing?
- WebRTC load failed when no aduio devices in Win10 HOT 2
- Loading native library in JNI HOT 1
- Request for a .jar library HOT 1
- Maven install webrtc-java-jni fails
- new PeerConnectionFactory failed
- How to solve the problem of bufferedAmount being full
- mvn failed HOT 2
- VideoTrack is not getting invoked on windows
- Leak of observer instances
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-java.