Giter Club home page Giter Club logo

coturn's Introduction

Dockerized Coturn

All you need to have a dockerized turn server is to install docker and docker-compose, then clone this repository and config your turn server by editing turnserver.conf file as you wish and run it!

I'll give you more details in following steps:

1- Install docker and docker-compose

if you don't know how to install docker and docker-compose follow this link for ubuntu: https://docs.docker.com/engine/install/ubuntu

2- Edit turnserver.conf

open turnserver.conf do following steps:

1- set (or just uncomment) listening-port on line 18

2- set listening-ip on line 60 to your server public ip address

3- set min-port and max-port on line 157 and 158

4- set your username and password on line 261 like this: user=yourusername:yourpassword

5- uncomment #no-udp on line 397

note: this step is optional but if your cellular put some limitation on udp you may have trouble to connect on udp so you need to do this step to fix it

6- set cli-password on line 705

3- Run it!

cd to the directory and execute following command in your terminal: docker-compose up -d

note: you can change other configs on turnserver.conf but some features such as setting TLS may not work yet. note: to check if your turn server works well or not you can use this link: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

coturn's People

Contributors

gorgin-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.