- 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/rtp.h
r3553 r5513 114 114 115 115 /** 116 * RTP exten dsion header.116 * RTP extension header. 117 117 */ 118 118 struct pjmedia_rtp_ext_hdr … … 127 127 typedef struct pjmedia_rtp_ext_hdr pjmedia_rtp_ext_hdr; 128 128 129 /** 130 * This will contain the RTP header decode output. 131 */ 132 struct pjmedia_rtp_dec_hdr 133 { 134 /* RTP extension header output decode */ 135 pjmedia_rtp_ext_hdr *ext_hdr; 136 pj_uint32_t *ext; 137 unsigned ext_len; 138 }; 139 140 /** 141 * @see pjmedia_rtp_dec_hdr 142 */ 143 typedef struct pjmedia_rtp_dec_hdr pjmedia_rtp_dec_hdr; 129 144 130 145 #pragma pack(1) … … 322 337 unsigned *payloadlen); 323 338 339 340 /** 341 * This function decodes incoming packet into RTP header and payload. 342 * The decode function is guaranteed to point the payload to the correct 343 * position regardless of any options present in the RTP packet. 344 * 345 * Note that this function does not modify the returned RTP header to 346 * host byte order. 347 * 348 * @param ses The session. 349 * @param pkt The received RTP packet. 350 * @param pkt_len The length of the packet. 351 * @param hdr Upon return will point to the location of the RTP 352 * header inside the packet. Note that the RTP header 353 * will be given back as is, meaning that the fields 354 * will be in network byte order. 355 * @param dec_hdr Upon return will point to the location of the 356 * additional RTP header inside the packet, if any. 357 * @param payload Upon return will point to the location of the 358 * payload inside the packet. 359 * @param payloadlen Upon return will indicate the size of the payload. 360 * 361 * @return PJ_SUCCESS if successfull. 362 */ 363 PJ_DECL(pj_status_t) pjmedia_rtp_decode_rtp2( 364 pjmedia_rtp_session *ses, 365 const void *pkt, int pkt_len, 366 const pjmedia_rtp_hdr **hdr, 367 pjmedia_rtp_dec_hdr *dec_hdr, 368 const void **payload, 369 unsigned *payloadlen); 370 324 371 /** 325 372 * Call this function everytime an RTP packet is received to check whether
Note: See TracChangeset
for help on using the changeset viewer.