Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Create an account on Viagenie (http://numb.viagenie.ca/), and replace
- {
- 'urls': 'turn:numb.viagenie.ca',
- 'credential': 'websitebeaver',
- 'username': 'websitebeaver@email.com'
- }
- //with the information from your account
- var servers = {
- 'iceServers': [{
- 'urls': 'stun:stun.services.mozilla.com'
- }, {
- 'urls': 'stun:stun.l.google.com:19302'
- }, {
- 'urls': 'turn:numb.viagenie.ca',
- '******': 'connectah',
- 'raplizard97@gmail.com': 'raplizard97@gmail.com'
- }]
- };
- var pc = new RTCPeerConnection(servers);
Add Comment
Please, Sign In to add comment