Asterisk - The Open Source Telephony Project GIT-master-0a46be9
Data Fields
websocket_pvt Struct Reference
Collaboration diagram for websocket_pvt:
Collaboration graph
[legend]

Data Fields

int bulk_media_in_progress
 
size_t bytes_read
 
struct ast_channelchannel
 
struct ast_websocket_clientclient
 
char connection_id [0]
 
struct {
   struct ast_frame *   first
 
   struct ast_frame *   last
 
   ast_mutex_t   lock
 
frame_queue
 
int frame_queue_length
 
char * leftover_data
 
size_t leftover_len
 
struct ast_codecnative_codec
 
struct ast_formatnative_format
 
int no_auto_answer
 
int optimal_frame_size
 
pthread_t outbound_read_thread
 
int queue_full
 
int queue_paused
 
int report_queue_drained
 
struct ast_frame silence
 
struct ast_codecslin_codec
 
struct ast_formatslin_format
 
struct ast_timertimer
 
struct ast_trans_pvttranslator
 
enum ast_websocket_type type
 
char * uri_params
 
struct ast_websocketwebsocket
 

Detailed Description

Definition at line 111 of file chan_websocket.c.

Field Documentation

◆ bulk_media_in_progress

int bulk_media_in_progress

Definition at line 131 of file chan_websocket.c.

Referenced by process_binary_message(), and process_text_message().

◆ bytes_read

size_t bytes_read

Definition at line 125 of file chan_websocket.c.

Referenced by process_binary_message().

◆ channel

struct ast_channel* channel

◆ client

struct ast_websocket_client* client

Definition at line 113 of file chan_websocket.c.

Referenced by webchan_call(), and websocket_destructor().

◆ connection_id

char connection_id[0]

◆ first

struct ast_frame* first

Definition at line 123 of file chan_websocket.c.

◆ 

struct { ... } frame_queue

◆ frame_queue_length

int frame_queue_length

◆ last

struct ast_frame* last

Definition at line 123 of file chan_websocket.c.

◆ leftover_data

char* leftover_data

◆ leftover_len

size_t leftover_len

Definition at line 126 of file chan_websocket.c.

Referenced by process_binary_message(), and process_text_message().

◆ lock

Definition at line 123 of file chan_websocket.c.

◆ native_codec

struct ast_codec* native_codec

◆ native_format

struct ast_format* native_format

◆ no_auto_answer

int no_auto_answer

Definition at line 129 of file chan_websocket.c.

◆ optimal_frame_size

int optimal_frame_size

Definition at line 130 of file chan_websocket.c.

Referenced by process_binary_message(), set_channel_variables(), and webchan_read().

◆ outbound_read_thread

pthread_t outbound_read_thread

Definition at line 124 of file chan_websocket.c.

Referenced by webchan_call().

◆ queue_full

int queue_full

Definition at line 134 of file chan_websocket.c.

Referenced by dequeue_frame(), process_text_message(), and queue_frame_from_buffer().

◆ queue_paused

int queue_paused

Definition at line 135 of file chan_websocket.c.

Referenced by dequeue_frame(), and process_text_message().

◆ report_queue_drained

int report_queue_drained

Definition at line 132 of file chan_websocket.c.

Referenced by dequeue_frame(), and process_text_message().

◆ silence

struct ast_frame silence

◆ slin_codec

struct ast_codec* slin_codec

◆ slin_format

struct ast_format* slin_format

◆ timer

struct ast_timer* timer

Definition at line 120 of file chan_websocket.c.

Referenced by set_channel_timer(), webchan_read(), and websocket_destructor().

◆ translator

Definition at line 122 of file chan_websocket.c.

Referenced by set_instance_translator(), webchan_read(), and websocket_destructor().

◆ type

enum ast_websocket_type type

Definition at line 112 of file chan_websocket.c.

Referenced by Property::load(), and webchan_call().

◆ uri_params

char* uri_params

Definition at line 127 of file chan_websocket.c.

Referenced by validate_uri_parameters(), webchan_call(), and websocket_destructor().

◆ websocket

struct ast_websocket* websocket

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