Download TASK-6000™ software reference guide

Transcript
Appendix B: Standard IOP functions • upQueryQOSReport
upQueryQOSReport
Causes the specified DSP specified to send a Quality of Service report as an
UP_EVT_STATISTICS_RPT event.
An RTCP stack can use the provided information to create Sender and Receiver
Reports.
Syntax
UP_ERROR_ET upQueryQOSReport(
RSYS_INT32 lUnit,
SYS_INT32 lChannel
);
Parameters
lUnit
The DSP number.
lChannel
The DSP virtual channel number.
Return values
UP_SUCCESS
Successful completion.
If the function cannot return an error in real time (for example, the
function sends a message to another processor to implement a
configuration change), the function returns this value, indicating that
the message was sent properly. The processor implementing the function
returns one of these values:
UP_EVT_CONFIG_ERROR
UP_EVT_STATISTICS_RPT
UP_STATISTICS_ST
typedef struct {
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_INT32
RSYS_INT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
RSYS_UINT32
sender_packet_count;
sender_octet_count;
frac_lost;
cum_packet_lost_count;
cum_late_packet_count;
ext_hi_seq_recv;
interarrival_jitter;
lSilencePercentTx;
lSilencePercentRx;
recv_packet_count;
recv_octet_count;
pkt_p_no_pkt_count;
pkt_p_fifo_err1_count;
pkt_p_fifo_err2_count;
pkt_p_len_err_count;
pkt_p_ip_cksum_count;
pkt_p_udp_cksum_count;
pkt_b_error_count;
rtp_unsupport_pt_count;
rtp_jb_resync_count;
133