mirror of
https://github.com/ggerganov/wave-share.git
synced 2026-02-06 01:16:13 +08:00
Fix the getIPs() function
Noticed it stopped working on Chrome. Was using a stun server (due to copy paste from the reference link) when one was not actually needed to create the RTCPeerConnection
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -782,7 +782,7 @@ int init() {
|
||||
devid_in = 0;
|
||||
} else {
|
||||
|
||||
printf("Obtained spec for input device (SDL Id = %d):\n", devid_out);
|
||||
printf("Obtained spec for input device (SDL Id = %d):\n", devid_in);
|
||||
printf(" - Sample rate: %d\n", captureSpec.freq);
|
||||
printf(" - Format: %d (required: %d)\n", captureSpec.format, desiredSpec.format);
|
||||
printf(" - Channels: %d (required: %d)\n", captureSpec.channels, desiredSpec.channels);
|
||||
|
||||
Reference in New Issue
Block a user