- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjmedia/include/pjmedia/vid_stream.h
r4043 r5513 32 32 #include <pjmedia/transport.h> 33 33 #include <pjmedia/vid_codec.h> 34 #include <pjmedia/stream_common.h> 34 35 #include <pj/sock.h> 35 36 … … 117 118 118 119 } pjmedia_vid_stream_rc_config; 120 121 /** 122 * Structure of configuration settings for video stream sending keyframe 123 * after it is created. 124 */ 125 typedef struct pjmedia_vid_stream_sk_config 126 { 127 /** 128 * The number of keyframe to be sent after the stream is created. 129 * 130 * Default: PJMEDIA_VID_STREAM_START_KEYFRAME_CNT 131 */ 132 unsigned count; 133 134 /** 135 * The keyframe sending interval after the stream is created. 136 * 137 * Default: PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC 138 */ 139 unsigned interval; 140 141 } pjmedia_vid_stream_sk_config; 119 142 120 143 … … 166 189 pjmedia_vid_stream_rc_config rc_cfg; 167 190 /**< Stream send rate control settings. */ 191 192 pjmedia_vid_stream_sk_config sk_cfg; 193 /**< Stream send keyframe settings. */ 168 194 } pjmedia_vid_stream_info; 169 195 … … 201 227 PJ_DECL(void) 202 228 pjmedia_vid_stream_rc_config_default(pjmedia_vid_stream_rc_config *cfg); 229 230 /** 231 * Initialize the video stream send keyframe with default settings. 232 * 233 * @param cfg Video stream send keyframe structure to be initialized. 234 */ 235 PJ_DECL(void) 236 pjmedia_vid_stream_sk_config_default(pjmedia_vid_stream_sk_config *cfg); 203 237 204 238 … … 413 447 pjmedia_vid_stream *stream); 414 448 449 /** 450 * Get the RTP session information of the video media stream. This function 451 * can be useful for app with custom media transport to inject/filter some 452 * outgoing/incoming proprietary packets into normal video RTP traffics. 453 * This will return the original pointer to the internal states of the stream, 454 * and generally it is not advisable for app to modify them. 455 * 456 * @param stream The video media stream. 457 * 458 * @param session_info The stream session info. 459 * 460 * @return PJ_SUCCESS on success. 461 */ 462 PJ_DECL(pj_status_t) 463 pjmedia_vid_stream_get_rtp_session_info(pjmedia_vid_stream *stream, 464 pjmedia_stream_rtp_sess_info *session_info); 465 415 466 416 467 /**
Note: See TracChangeset
for help on using the changeset viewer.