Ignore:
Timestamp:
Apr 6, 2006 7:29:03 PM (18 years ago)
Author:
bennylp
Message:

Integrate (stream) quality monitoring into RTCP framework, and update all RTCP clients accordingly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/stream.h

    r290 r390  
    3030#include <pjmedia/endpoint.h> 
    3131#include <pjmedia/port.h> 
     32#include <pjmedia/rtcp.h> 
    3233#include <pj/sock.h> 
    3334 
     
    8384 
    8485/** 
    85  * Individual channel statistic. 
    86  */ 
    87 struct pjmedia_channel_stat 
    88 { 
    89     pj_uint32_t pkt;        /**< Total number of packets.                   */ 
    90     pj_uint32_t bytes;      /**< Total number of bytes, including RTP hdr.  */ 
    91     pj_uint32_t lost;       /**< Total number of packet lost                */ 
    92 }; 
    93  
    94 /** 
    95  * Stream statistic. 
    96  */ 
    97 struct pjmedia_stream_stat 
    98 { 
    99     pjmedia_channel_stat    enc;    /**< Encoder statistics.                */ 
    100     pjmedia_channel_stat    dec;    /**< Decoder statistics.                */ 
    101 }; 
    102  
    103  
    104  
    105 /** 
    10686 * Create a media stream based on the specified stream parameter. 
    10787 * All channels in the stream initially will be inactive. 
     
    165145 */ 
    166146PJ_DECL(pj_status_t) pjmedia_stream_get_stat( const pjmedia_stream *stream, 
    167                                               pjmedia_stream_stat *stat); 
     147                                              pjmedia_rtcp_stat *stat); 
    168148 
    169149/** 
Note: See TracChangeset for help on using the changeset viewer.