ascii-chat 0.11.33
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)

Definition at line 28 of file turn_credentials.h.

Field Documentation

◆ expires_at

time_t turn_credentials_t::expires_at

Unix timestamp when credentials expire

Definition at line 31 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 30 of file turn_credentials.h.

Referenced by database_session_join(), and turn_generate_credentials().

◆ username

char turn_credentials_t::username[128]

Format: "timestamp:session_id"

Definition at line 29 of file turn_credentials.h.

Referenced by database_session_join(), and turn_generate_credentials().


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