Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Core SDK

Vivox Core SDK

Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
  • Reference
    • Access Token Developer Guide
    • Server to Server Web API Reference Guide
    • Core API Reference Manual
      • Modules
      • Data Structures
        • vx_account
        • vx_auto_accept_rule
        • vx_before_recv_audio_mixed_participant_data_t
        • vx_block_rule
        • vx_buddy
        • vx_call_stats
        • vx_channel
        • vx_connectivity_test_result
        • vx_device
        • vx_evt_account_archive_message
        • vx_evt_account_archive_query_end
        • vx_evt_account_chat_history_message
        • vx_evt_account_chat_history_query_end
        • vx_evt_account_delete_message
        • vx_evt_account_edit_message
        • vx_evt_account_login_state_change
        • vx_evt_account_send_message_failed
        • vx_evt_audio_device_hot_swap
        • vx_evt_aux_audio_properties
        • vx_evt_base
        • vx_evt_buddy_and_group_list_changed
        • vx_evt_buddy_changed
        • vx_evt_buddy_group_changed
        • vx_evt_buddy_presence
        • vx_evt_connection_state_changed
        • vx_evt_idle_state_changed
        • vx_evt_keyboard_mouse
        • vx_evt_media_completion
        • vx_evt_media_stream_updated
        • vx_evt_message
        • vx_evt_network_message
        • vx_evt_participant_added
        • vx_evt_participant_removed
        • vx_evt_participant_updated
        • vx_evt_publication_state_changed
        • vx_evt_server_app_data
        • vx_evt_session_added
        • vx_evt_session_archive_message
        • vx_evt_session_archive_query_end
        • vx_evt_session_chat_history_message
        • vx_evt_session_chat_history_query_end
        • vx_evt_session_delete_message
        • vx_evt_session_edit_message
        • vx_evt_session_notification
        • vx_evt_session_removed
        • vx_evt_session_updated
        • vx_evt_sessiongroup_added
        • vx_evt_sessiongroup_playback_frame_played
        • vx_evt_sessiongroup_removed
        • vx_evt_sessiongroup_updated
        • vx_evt_stt_failed
        • vx_evt_subscription
        • vx_evt_text_stream_updated
        • vx_evt_transcribed_message
        • vx_evt_tts_injection_ended
        • vx_evt_tts_injection_failed
        • vx_evt_tts_injection_started
        • vx_evt_user_app_data
        • vx_evt_user_to_user_message
        • vx_evt_voice_service_connection_state_changed
        • vx_generic_credentials
        • vx_group
        • vx_message_base
        • vx_name_value_pair
        • vx_participant
        • vx_req_account_anonymous_login
        • vx_req_account_archive_query
        • vx_req_account_authtoken_login
        • vx_req_account_buddy_delete
        • vx_req_account_buddy_set
        • vx_req_account_channel_add_acl
        • vx_req_account_channel_change_owner
        • vx_req_account_channel_get_acl
        • vx_req_account_channel_remove_acl
        • vx_req_account_chat_history_get_last_read
        • vx_req_account_chat_history_query
        • vx_req_account_control_communications
        • vx_req_account_create_auto_accept_rule
        • vx_req_account_create_block_rule
        • vx_req_account_delete_auto_accept_rule
        • vx_req_account_delete_block_rule
        • vx_req_account_delete_message Struct Reference
        • vx_req_account_edit_message Struct Reference
        • vx_req_account_get_account
        • vx_req_account_get_session_fonts
        • vx_req_account_get_template_fonts
        • vx_req_account_list_auto_accept_rules
        • vx_req_account_list_block_rules
        • vx_req_account_list_buddies_and_groups
        • vx_req_account_login
        • vx_req_account_logout
        • vx_req_account_post_crash_dump
        • vx_req_account_send_message
        • vx_req_account_send_sms
        • vx_req_account_send_subscription_reply
        • vx_req_account_send_user_app_data
        • vx_req_account_set_login_properties
        • vx_req_account_set_presence
        • vx_req_account_update_account
        • vx_req_account_web_call
        • vx_req_aux_capture_audio_start
        • vx_req_aux_capture_audio_stop
        • vx_req_aux_connectivity_info
        • vx_req_aux_create_account
        • vx_req_aux_deactivate_account
        • vx_req_aux_diagnostic_state_dump
        • vx_req_aux_get_capture_devices
        • vx_req_aux_get_derumbler_properties
        • vx_req_aux_get_mic_level
        • vx_req_aux_get_render_devices
        • vx_req_aux_get_speaker_level
        • vx_req_aux_get_vad_properties
        • vx_req_aux_global_monitor_keyboard_mouse
        • vx_req_aux_notify_application_state_change
        • vx_req_aux_play_audio_buffer
        • vx_req_aux_reactivate_account
        • vx_req_aux_render_audio_modify
        • vx_req_aux_render_audio_start
        • vx_req_aux_render_audio_stop
        • vx_req_aux_reset_password
        • vx_req_aux_set_capture_device
        • vx_req_aux_set_derumbler_properties
        • vx_req_aux_set_idle_timeout
        • vx_req_aux_set_mic_level
        • vx_req_aux_set_render_device
        • vx_req_aux_set_speaker_level
        • vx_req_aux_set_vad_properties
        • vx_req_aux_start_buffer_capture
        • vx_req_base
        • vx_req_channel_ban_user
        • vx_req_channel_get_banned_users
        • vx_req_channel_kick_user
        • vx_req_channel_mute_all_users
        • vx_req_channel_mute_user
        • vx_req_channel_set_lock_mode
        • vx_req_connector_create
        • vx_req_connector_get_local_audio_info
        • vx_req_connector_initiate_shutdown
        • vx_req_connector_mute_local_mic
        • vx_req_connector_mute_local_speaker
        • vx_req_connector_set_local_mic_volume
        • vx_req_connector_set_local_speaker_volume
        • vx_req_session_archive_query
        • vx_req_session_channel_invite_user
        • vx_req_session_chat_history_query
        • vx_req_session_create
        • vx_req_session_delete_message
        • vx_req_session_edit_message
        • vx_req_session_media_connect
        • vx_req_session_media_disconnect
        • vx_req_session_mute_local_speaker
        • vx_req_session_send_dtmf
        • vx_req_session_send_message
        • vx_req_session_send_notification
        • vx_req_session_set_3d_position
        • vx_req_session_set_local_render_volume
        • vx_req_session_set_local_speaker_volume
        • vx_req_session_set_participant_mute_for_me
        • vx_req_session_set_participant_volume_for_me
        • vx_req_session_set_voice_font
        • vx_req_session_terminate
        • vx_req_session_text_connect
        • vx_req_session_text_disconnect
        • vx_req_session_transcription_control
        • vx_req_sessiongroup_add_session
        • vx_req_sessiongroup_control_audio_injection
        • vx_req_sessiongroup_create
        • vx_req_sessiongroup_get_stats
        • vx_req_sessiongroup_remove_session
        • vx_req_sessiongroup_reset_focus
        • vx_req_sessiongroup_set_focus
        • vx_req_sessiongroup_set_session_3d_position
        • vx_req_sessiongroup_set_tx_all_sessions
        • vx_req_sessiongroup_set_tx_no_session
        • vx_req_sessiongroup_set_tx_session
        • vx_req_sessiongroup_terminate
        • vx_req_sessiongroup_unset_focus
        • vx_resp_account_anonymous_login
        • vx_resp_account_archive_query
        • vx_resp_account_authtoken_login
        • vx_resp_account_buddy_delete
        • vx_resp_account_buddy_set
        • vx_resp_account_channel_add_acl
        • vx_resp_account_channel_change_owner
        • vx_resp_account_chat_history_get_last_read
        • vx_resp_account_channel_get_acl
        • vx_resp_account_channel_remove_acl
        • vx_resp_account_chat_history_query
        • vx_resp_account_control_communications
        • vx_resp_account_create_auto_accept_rule
        • vx_resp_account_create_block_rule
        • vx_resp_account_delete_auto_accept_rule
        • vx_resp_account_delete_block_rule
        • vx_resp_account_get_account
        • vx_resp_account_get_session_fonts
        • vx_resp_account_get_template_fonts
        • vx_resp_account_list_auto_accept_rules
        • vx_resp_account_list_block_rules
        • vx_resp_account_list_buddies_and_groups
        • vx_resp_account_login
        • vx_resp_account_logout
        • vx_resp_account_post_crash_dump
        • vx_resp_account_send_message
        • vx_resp_account_send_sms
        • vx_resp_account_send_subscription_reply
        • vx_resp_account_send_user_app_data
        • vx_resp_account_set_login_properties
        • vx_resp_account_set_presence
        • vx_resp_account_update_account
        • vx_resp_account_web_call
        • vx_resp_aux_capture_audio_start
        • vx_resp_aux_capture_audio_stop
        • vx_resp_aux_connectivity_info
        • vx_resp_aux_create_account
        • vx_resp_aux_deactivate_account
        • vx_resp_aux_diagnostic_state_dump
        • vx_resp_aux_get_capture_devices
        • vx_resp_aux_get_derumbler_properties
        • vx_resp_aux_get_mic_level
        • vx_resp_aux_get_render_devices
        • vx_resp_aux_get_speaker_level
        • vx_resp_aux_get_vad_properties
        • vx_resp_aux_global_monitor_keyboard_mouse
        • vx_resp_aux_notify_application_state_change
        • vx_resp_aux_play_audio_buffer
        • vx_resp_aux_reactivate_account
        • vx_resp_aux_render_audio_modify
        • vx_resp_aux_render_audio_start
        • vx_resp_aux_render_audio_stop
        • vx_resp_aux_reset_password
        • vx_resp_aux_set_capture_device
        • vx_resp_aux_set_derumbler_properties
        • vx_resp_aux_set_idle_timeout
        • vx_resp_aux_set_mic_level
        • vx_resp_aux_set_render_device
        • vx_resp_aux_set_speaker_level
        • vx_resp_aux_set_vad_properties
        • vx_resp_aux_start_buffer_capture
        • vx_resp_base
        • vx_resp_channel_ban_user
        • vx_resp_channel_get_banned_users
        • vx_resp_channel_kick_user
        • vx_resp_channel_mute_all_users
        • vx_resp_channel_mute_user
        • vx_resp_channel_set_lock_mode
        • vx_resp_connector_create
        • vx_resp_connector_get_local_audio_info
        • vx_resp_connector_initiate_shutdown
        • vx_resp_connector_mute_local_mic
        • vx_resp_connector_mute_local_speaker
        • vx_resp_connector_set_local_mic_volume
        • vx_resp_connector_set_local_speaker_volume
        • vx_resp_session_archive_query
        • vx_resp_session_channel_invite_user
        • vx_resp_session_chat_history_query
        • vx_resp_session_create
        • vx_resp_session_media_connect
        • vx_resp_session_media_disconnect
        • vx_resp_session_mute_local_speaker
        • vx_resp_session_send_dtmf
        • vx_resp_session_send_message
        • vx_resp_session_send_notification
        • vx_resp_session_set_3d_position
        • vx_resp_session_set_local_render_volume
        • vx_resp_session_set_local_speaker_volume
        • vx_resp_session_set_participant_mute_for_me
        • vx_resp_session_set_participant_volume_for_me
        • vx_resp_session_set_voice_font
        • vx_resp_session_terminate
        • vx_resp_session_text_connect
        • vx_resp_session_text_disconnect
        • vx_resp_session_transcription_control
        • vx_resp_sessiongroup_add_session
        • vx_resp_sessiongroup_control_audio_injection
        • vx_resp_sessiongroup_create
        • vx_resp_sessiongroup_get_stats
        • vx_resp_sessiongroup_remove_session
        • vx_resp_sessiongroup_reset_focus
        • vx_resp_sessiongroup_set_focus
        • vx_resp_sessiongroup_set_session_3d_position
        • vx_resp_sessiongroup_set_tx_all_sessions
        • vx_resp_sessiongroup_set_tx_no_session
        • vx_resp_sessiongroup_set_tx_session
        • vx_resp_sessiongroup_terminate
        • vx_resp_sessiongroup_unset_focus
        • vx_sdk_config
        • vx_stat_sample
        • vx_stat_thread
        • vx_state_account
        • vx_state_buddy
        • vx_state_buddy_contact
        • vx_state_buddy_group
        • vx_state_connector
        • vx_state_participant
        • vx_state_session
        • vx_state_sessiongroup
        • vx_system_stats
        • vx_tts_utterance
        • vx_tts_voice
        • vx_user_channel
        • vx_voice_font
        • vx_vxd
        • vxa_capture_device_stats_t
        • vxa_render_device_stats_t
      • Deprecated List
    • Third-party license information
  • Privacy overview
  1. Vivox Core SDK documentation

vx_call_stats

Reference the Vivox Core SDK API.
Read time 6 minutes
Last updated 8 months ago

The common structure for holding call-related statistics.
#include <VxcEvents.h>

Public Attributes

Name

intinsufficient_bandwidth
RESERVED FOR FUTURE USE.
intmin_bars
RESERVED FOR FUTURE USE.
intmax_bars
RESERVED FOR FUTURE USE.
intcurrent_bars
An indication of the network quality in the range of 1-5, with 5 indicating the best quality.
intpk_loss
RESERVED FOR FUTURE USE.
intincoming_received
The number of packets received.
intincoming_expected
RESERVED FOR FUTURE USE.
intincoming_packetloss
The number of packets lost in the network.
intincoming_out_of_time
The number of packets received too late to be useful and discarded.
intincoming_discarded
The number of packets received but discarded because the local queue overflowed.
intoutgoing_sent
The number of packets sent.
intrender_device_underruns
The number of render device underruns.
intrender_device_overruns
The number of render device overruns.
intrender_device_errors
The number of render device errors.
char *call_id
The SIP call ID.
intplc_on
A flag that indicates whether packet loss concealment (error correction) has happened.
intplc_synthetic_frames
The number of 10ms synthetic frames generated by packet loss concealment.
char *codec_name
A codec negotiated in the current call.
intcodec_mode
doublemin_latency
The minimum network latency detected in seconds.
doublemax_latency
The maximum network latency detected in seconds.
intlatency_measurement_count
The number of times that latency was measured.
doublelatency_sum
The total number of seconds of measured network latency.
doublelast_latency_measured
The last latency that was measured.
intlatency_packets_lost
The number of times that latency packet were received where their prior expected response was not received.
doubler_factor
A computation of quality.
intlatency_packets_sent
The number of latency measurement request packets sent.
intlatency_packets_dropped
The number of latency measurement response packets lost.
intlatency_packets_malformed
The number of latency measurement packets that were too short or otherwise malformed.
intlatency_packets_negative_latency
The number of latency measurement packets that arrived before they were sent.
doublesample_interval_begin
The beginning of the sample period in fractional seconds since midnight January 1, 1970 GMT.
doublesample_interval_end
The end of the sample period in fractional seconds since midnight January 1, 1970 GMT.
int[5]capture_device_consecutively_read_count
The number of intervals where 0, 1, 2, 3, or 4 or greater audio frames were read from the capture device.
intcurrent_opus_bit_rate
The OPUS bit rate that was used for encoding the last transmitted OPUS packet.
intcurrent_opus_complexity
The OPUS complexity that was used for encoding the last transmitted OPUS packet.
intcurrent_opus_vbr_mode
The OPUS VBR mode (vx_opus_vbr_mode) that was used for encoding the last transmitted OPUS packet.
intcurrent_opus_bandwidth
The OPUS bandwith (vx_opus_bandwidth) that was used for encoding the last transmitted OPUS packet.
intcurrent_opus_max_packet_size
The OPUS max packet size limit that was used for encoding the last transmitted OPUS packet.

Public Attributes Documentation

variable insufficient_bandwidth

int insufficient_bandwidth;
RESERVED FOR FUTURE USE.

variable min_bars

int min_bars;
RESERVED FOR FUTURE USE.

variable max_bars

int max_bars;
RESERVED FOR FUTURE USE.

variable current_bars

int current_bars;
An indication of the network quality in the range of 1-5, with 5 indicating the best quality.

variable pk_loss

int pk_loss;
RESERVED FOR FUTURE USE.

variable incoming_received

int incoming_received;
The number of packets received.

variable incoming_expected

int incoming_expected;
RESERVED FOR FUTURE USE.

variable incoming_packetloss

int incoming_packetloss;
The number of packets lost in the network.

variable incoming_out_of_time

int incoming_out_of_time;
The number of packets received too late to be useful and discarded.

variable incoming_discarded

int incoming_discarded;
The number of packets received but discarded because the local queue overflowed.

variable outgoing_sent

int outgoing_sent;
The number of packets sent.

variable render_device_underruns

int render_device_underruns;
The number of render device underruns.
Note: Mobile platforms only.

variable render_device_overruns

int render_device_overruns;
The number of render device overruns.
Note: Mobile platforms only.

variable render_device_errors

int render_device_errors;
The number of render device errors.
Note: Mobile platforms only.

variable call_id

char * call_id;
The SIP call ID.

variable plc_on

int plc_on;
A flag that indicates whether packet loss concealment (error correction) has happened.

variable plc_synthetic_frames

int plc_synthetic_frames;
The number of 10ms synthetic frames generated by packet loss concealment.

variable codec_name

char * codec_name;
A codec negotiated in the current call.

variable codec_mode

int codec_mode;
Deprecated:
This is deprecated and should not be used.

variable min_latency

double min_latency;
The minimum network latency detected in seconds.
This is zero if no latency measurements are made.

variable max_latency

double max_latency;
The maximum network latency detected in seconds.
This is zero if no latency measurements are made.

variable latency_measurement_count

int latency_measurement_count;
The number of times that latency was measured.

variable latency_sum

double latency_sum;
The total number of seconds of measured network latency.

variable last_latency_measured

double last_latency_measured;
The last latency that was measured.

variable latency_packets_lost

int latency_packets_lost;
The number of times that latency packet were received where their prior expected response was not received.

variable r_factor

double r_factor;
A computation of quality.

variable latency_packets_sent

int latency_packets_sent;
The number of latency measurement request packets sent.

variable latency_packets_dropped

int latency_packets_dropped;
The number of latency measurement response packets lost.

variable latency_packets_malformed

int latency_packets_malformed;
The number of latency measurement packets that were too short or otherwise malformed.

variable latency_packets_negative_latency

int latency_packets_negative_latency;
The number of latency measurement packets that arrived before they were sent.
Note: This can occur if there are clock adjustments.

variable sample_interval_begin

double sample_interval_begin;
The beginning of the sample period in fractional seconds since midnight January 1, 1970 GMT.

variable sample_interval_end

double sample_interval_end;
The end of the sample period in fractional seconds since midnight January 1, 1970 GMT.

variable capture_device_consecutively_read_count

int[5] capture_device_consecutively_read_count;
The number of intervals where 0, 1, 2, 3, or 4 or greater audio frames were read from the capture device.

variable current_opus_bit_rate

int current_opus_bit_rate;
The OPUS bit rate that was used for encoding the last transmitted OPUS packet.
This is -1 if no OPUS packets were transmitted.

variable current_opus_complexity

int current_opus_complexity;
The OPUS complexity that was used for encoding the last transmitted OPUS packet.
This is -1 if no OPUS packets were transmitted.

variable current_opus_vbr_mode

int current_opus_vbr_mode;
The OPUS VBR mode (vx_opus_vbr_mode) that was used for encoding the last transmitted OPUS packet.
This is -1 if no OPUS packets were transmitted.

variable current_opus_bandwidth

int current_opus_bandwidth;
The OPUS bandwith (vx_opus_bandwidth) that was used for encoding the last transmitted OPUS packet.
This is -1 if no OPUS packets were transmitted.

variable current_opus_max_packet_size

int current_opus_max_packet_size;
The OPUS max packet size limit that was used for encoding the last transmitted OPUS packet.
This is -1 if no OPUS packets were transmitted.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Public Attributes

    • Public Attributes Documentation

      • variable insufficient_bandwidth

      • variable min_bars

      • variable max_bars

      • variable current_bars

      • variable pk_loss

      • variable incoming_received

      • variable incoming_expected

      • variable incoming_packetloss

      • variable incoming_out_of_time

      • variable incoming_discarded

      • variable outgoing_sent

      • variable render_device_underruns

      • variable render_device_overruns

      • variable render_device_errors

      • variable call_id

      • variable plc_on

      • variable plc_synthetic_frames

      • variable codec_name

      • variable codec_mode

      • variable min_latency

      • variable max_latency

      • variable latency_measurement_count

      • variable latency_sum

      • variable last_latency_measured

      • variable latency_packets_lost

      • variable r_factor

      • variable latency_packets_sent

      • variable latency_packets_dropped

      • variable latency_packets_malformed

      • variable latency_packets_negative_latency

      • variable sample_interval_begin

      • variable sample_interval_end

      • variable capture_device_consecutively_read_count

      • variable current_opus_bit_rate

      • variable current_opus_complexity

      • variable current_opus_vbr_mode

      • variable current_opus_bandwidth

      • variable current_opus_max_packet_size


Report a problem with this page