Ignore:
Timestamp:
Aug 5, 2016 7:26:18 AM (6 years ago)
Author:
riza
Message:

Re #1910: Implement option to regularly send video keyframe in the beginning of video call session.

File:
1 edited

Legend:

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

    r4043 r5410  
    117117 
    118118} pjmedia_vid_stream_rc_config; 
     119 
     120/** 
     121 * Structure of configuration settings for video stream sending keyframe  
     122 * after it is created. 
     123 */ 
     124typedef struct pjmedia_vid_stream_sk_config 
     125{ 
     126    /** 
     127     * The number of keyframe to be sent after the stream is created. 
     128     * 
     129     * Default: PJMEDIA_VID_STREAM_START_KEYFRAME_CNT 
     130     */ 
     131    unsigned                        count; 
     132 
     133    /** 
     134     * The keyframe sending interval after the stream is created. 
     135     * 
     136     * Default: PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC 
     137     */ 
     138    unsigned                        interval; 
     139 
     140} pjmedia_vid_stream_sk_config; 
    119141 
    120142 
     
    166188    pjmedia_vid_stream_rc_config rc_cfg; 
    167189                                    /**< Stream send rate control settings. */ 
     190 
     191    pjmedia_vid_stream_sk_config sk_cfg; 
     192                                    /**< Stream send keyframe settings.     */ 
    168193} pjmedia_vid_stream_info; 
    169194 
     
    201226PJ_DECL(void) 
    202227pjmedia_vid_stream_rc_config_default(pjmedia_vid_stream_rc_config *cfg); 
     228 
     229/** 
     230 * Initialize the video stream send keyframe with default settings. 
     231 * 
     232 * @param cfg           Video stream send keyframe structure to be initialized. 
     233 */ 
     234PJ_DECL(void) 
     235pjmedia_vid_stream_sk_config_default(pjmedia_vid_stream_sk_config *cfg); 
    203236 
    204237 
Note: See TracChangeset for help on using the changeset viewer.