|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Go to the source code of this file.
Data Structures | |
| struct | webrtc_config_t |
| WebRTC configuration. More... | |
| struct | webrtc_datachannel_callbacks_t |
| DataChannel callback structure. More... | |
Typedefs | |
| typedef struct webrtc_peer_connection | webrtc_peer_connection_t |
| typedef struct webrtc_data_channel | webrtc_data_channel_t |
| typedef void(* | webrtc_state_callback_t) (webrtc_peer_connection_t *pc, webrtc_state_t state, void *user_data) |
| Callback for state changes. | |
| typedef void(* | webrtc_local_description_callback_t) (webrtc_peer_connection_t *pc, const char *sdp, const char *type, void *user_data) |
| Callback for local SDP offer/answer generation. | |
| typedef void(* | webrtc_local_candidate_callback_t) (webrtc_peer_connection_t *pc, const char *candidate, const char *mid, void *user_data) |
| Callback for local ICE candidate discovery. | |
| typedef void(* | webrtc_datachannel_open_callback_t) (webrtc_data_channel_t *dc, void *user_data) |
| Callback for DataChannel open event. | |
| typedef void(* | webrtc_datachannel_message_callback_t) (webrtc_data_channel_t *dc, const uint8_t *data, size_t size, void *user_data) |
| Callback for DataChannel message received. | |
| typedef void(* | webrtc_datachannel_error_callback_t) (webrtc_data_channel_t *dc, const char *error, void *user_data) |
| Callback for DataChannel error. | |
Enumerations | |
| enum | webrtc_state_t { WEBRTC_STATE_NEW = 0 , WEBRTC_STATE_CONNECTING , WEBRTC_STATE_CONNECTED , WEBRTC_STATE_DISCONNECTED , WEBRTC_STATE_FAILED , WEBRTC_STATE_CLOSED } |
| WebRTC connection state. More... | |
| enum | webrtc_gathering_state_t { WEBRTC_GATHERING_NEW = 0 , WEBRTC_GATHERING_GATHERING , WEBRTC_GATHERING_COMPLETE } |
| ICE gathering state. More... | |