Changeset 734 for pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
- Timestamp:
- Sep 22, 2006 4:55:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r582 r734 895 895 * Reject the offer by setting the port to zero in the answer. 896 896 */ 897 pjmedia_sdp_attr *a; 898 897 899 /* For simplicity in the construction of the answer, we'll 898 900 * just clone the media from the offer. Anyway receiver will … … 903 905 am->desc.port = 0; 904 906 905 /* Match direction */ 906 update_media_direction(pool, om, am); 907 /* Remove direction attribute, and replace with inactive */ 908 remove_all_media_directions(am); 909 910 a = pjmedia_sdp_attr_create(pool, "inactive", NULL); 911 pjmedia_sdp_media_add_attr(am, a); 907 912 908 913 } else {
Note: See TracChangeset
for help on using the changeset viewer.