Ignore:
Timestamp:
Aug 1, 2010 9:48:51 AM (10 years ago)
Author:
bennylp
Message:

Implemented core multipart support and support in the invite session (re #1070)

  • incoming multipart message will be handled automatically
  • for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r3222 r3243  
    11871187 
    11881188    /** 
    1189      * Optional message body. 
     1189     * Optional message body to be added to the message, only when the 
     1190     * message doesn't have a body. 
    11901191     */ 
    11911192    pj_str_t    msg_body; 
    11921193 
     1194    /** 
     1195     * Content type of the multipart body. If application wants to send 
     1196     * multipart message bodies, it puts the parts in \a parts and set 
     1197     * the content type in \a multipart_ctype. If the message already 
     1198     * contains a body, the body will be added to the multipart bodies. 
     1199     */ 
     1200    pjsip_media_type  multipart_ctype; 
     1201 
     1202    /** 
     1203     * List of multipart parts. If application wants to send multipart 
     1204     * message bodies, it puts the parts in \a parts and set the content 
     1205     * type in \a multipart_ctype. If the message already contains a body, 
     1206     * the body will be added to the multipart bodies. 
     1207     */ 
     1208    pjsip_multipart_part multipart_parts; 
    11931209}; 
    11941210 
Note: See TracChangeset for help on using the changeset viewer.