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:
Georgi Gerganov
2019-06-13 20:51:26 +03:00
parent be44800fa0
commit 8ff24e125e
2 changed files with 3 additions and 10 deletions

View File

@@ -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);