|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Functions | |
| struct | __attribute__ ((packed)) |
| STUN server configuration. | |
Variables | |
| stun_server_t | |
STUN Protocol Constants | |
| #define | STUN_DEFAULT_PORT 3478 |
| Standard STUN port (RFC 5389) | |
| #define | STUN_TLS_DEFAULT_PORT 5349 |
| STUN over TLS port (RFC 5389) | |
| #define | STUN_MAX_URL_LEN 64 |
| Maximum STUN URL length. | |
This module defines STUN server configuration structures for WebRTC connectivity. STUN servers help clients discover their public IP addresses and port mappings when behind NAT.
RFC 5389: Session Traversal Utilities for NAT (STUN) RFC 8489: Session Traversal Utilities for NAT (STUN) - updated
| #define STUN_DEFAULT_PORT 3478 |
| #define STUN_MAX_URL_LEN 64 |
| #define STUN_TLS_DEFAULT_PORT 5349 |
| struct __attribute__ | ( | (packed) | ) |
#include <stun.h>
STUN server configuration.
Used in ACDS SESSION_CREATED response to provide WebRTC connectivity information.
Protocol Format:
URL Format Examples:
stun:discovery.ascii.chat:3478 (standard port)stun:stun.l.google.com:19302 (Google public STUN)stun:stun.example.com:5349 (custom port)Wire Format (65 bytes total):
< Length of host string (actual URL length)
< STUN server URL (e.g., "stun:discovery.ascii.chat:3478")
| stun_server_t |