Changeset 1801 for pjproject/trunk/pjmedia/src/pjmedia/session.c
- Timestamp:
- Feb 15, 2008 5:33:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/session.c
r1734 r1801 177 177 si->type = PJMEDIA_TYPE_VIDEO; 178 178 179 } else if (pj_stricmp(&local_m->desc.media, &ID_APPLICATION) == 0) {180 181 si->type = PJMEDIA_TYPE_APPLICATION;182 183 179 } else { 184 180 185 181 si->type = PJMEDIA_TYPE_UNKNOWN; 186 return PJMEDIA_EINVALIMEDIATYPE; 182 183 /* Avoid rejecting call because of unrecognized media, 184 * just return PJ_SUCCESS, this media will be deactivated later. 185 */ 186 //return PJMEDIA_EINVALIMEDIATYPE; 187 return PJ_SUCCESS; 187 188 188 189 }
Note: See TracChangeset
for help on using the changeset viewer.