ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
turn_credentials_t Struct Reference

TURN server credentials (username + password). More...

#include <include/ascii-chat/network/webrtc/turn_credentials.h>

Data Fields

char username [128]
char password [128]
time_t expires_at

Detailed Description

TURN server credentials (username + password).

TURN server credentials (username + password)

Definition at line 33 of file turn_credentials.h.

Field Documentation

◆ expires_at

time_t turn_credentials_t::expires_at

Unix timestamp when credentials expire

Definition at line 37 of file turn_credentials.h.

Referenced by turn_credentials_expired(), and turn_generate_credentials().

◆ password

char turn_credentials_t::password[128]

Base64-encoded HMAC-SHA1(secret, username)

Definition at line 36 of file turn_credentials.h.

Referenced by turn_generate_credentials().

◆ username

char turn_credentials_t::username[128]

Format: "timestamp:session_id"

Definition at line 34 of file turn_credentials.h.

Referenced by turn_generate_credentials().


The documentation for this struct was generated from the following file: