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

turn server error in apprtc.debug.js #25

Open
chenwandong opened this issue May 7, 2022 · 0 comments
Open

turn server error in apprtc.debug.js #25

chenwandong opened this issue May 7, 2022 · 0 comments

Comments

@chenwandong
Copy link

(apprtc.debug.js:1960) Failed to load turn:22.45.15.162:3478/turn?username=475795&key=itisgood: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
I am using those settings, is there any problem in my configuration file ?

why apprtc.debug.js test turn server with xmlhttprequest ?

var constants = {
LOOPBACK_CLIENT_ID: 'LOOPBACK_CLIENT_ID',
TURN_BASE_URL: 'turn:22.45.15.162:3478',
TURN_URL_TEMPLATE: '%s/turn?username=%s&key=%s',
CEOD_KEY: 'itisgood',
WSS_HOST_ACTIVE_HOST_KEY: 'wss_host_active_host', //memcache key for the active collider host.
WSS_HOST_PORT_PAIRS: ['apprtc-ws.webrtc.org:443', 'apprtc-ws-2.webrtc.org:443'],
RESPONSE_ERROR: 'ERROR',
RESPONSE_UNKNOWN_ROOM: 'UNKNOWN_ROOM',
RESPONSE_UNKNOWN_CLIENT: 'UNKNOWN_CLIENT',
RESPONSE_ROOM_FULL: 'FULL',
RESPONSE_DUPLICATE_CLIENT: 'DUPLICATE_CLIENT',
RESPONSE_SUCCESS: 'SUCCESS',
RESPONSE_INVALID_REQUEST: 'INVALID_REQUEST'
};

Thanks in advance, i will appreciate any help.. i am tired of this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant