Skip to content

Rahonam/webrtc-basics

Repository files navigation

webRTC basics

WebRTC (Web Real-Time Communication) is an API that can be used by video-chat, voice-calling, and P2P-file-sharing Web apps. We can use STUN(Session Traversal Utilities for NAT) or TURN(Traversal Using Relays Around NATs) servers for relaying the traffic between peers.

ICE(Interactive Connectivity Establishment) Configuration

  • We can use public STUN/TURN servers or setup own using COTURN server.
iceConfig: {
    iceServers: [
        {
        urls: [
            'stun:stun1.l.google.com:19302',
            'stun:stun2.l.google.com:19302',
        ],
        },
    ],
    iceCandidatePoolSize: 10,
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published