osp-video

Definition

  1. Difference between TURN and STUN

Note

TURN and STUN are both communication protocols used for real-time communication applications such as Voice over IP (VoIP), video conferencing, and instant messaging. However, they have different functions.

The TURN (Traversal Using Relay NAT) protocol is used to bypass Network Address Translation (NAT) issues. NAT is a network routing technique allowing multiple computers to share a single public IP address. However, NAT can prevent real-time communication because the local computers IP addresses are not visible on the Internet. The TURN protocol bypasses this problem by using a relay server allowing clients to communicate directly with each other<br> The STUN (Session Traversal Utilities for NAT) protocol is used to determine the IP address and port of a client behind a NAT. The STUN server is used to identify the client’s IP address and port to enable direct communication between clients.

In summary, TURN is used to bypass NAT issues, while STUN is used to determine the IP address and port of a client behind a NAT.

List of configuration files

Filename

Short description

Format

Documentation

module.service

Each service is described in its own file and then assembled.

yml

See the Swarm administration or Official documentation

module.video

Defines the video module.

json

module.video

owner-server.video

Defines the connection to a Kurento server.

json

owner-server.video

owner.video

Defines a stream

json

owner.video

controller.video

A value to command if the stream is enabled or not.

json

controller.video