@ -2133,14 +2133,14 @@ static void insert_codec_parameters(GString *s, struct call_media *cm,
}
}
static void insert_media_attributes( GString * gs , struct call_media * cm , const sdp_ng_flags * flags ) {
for ( __auto_type l = cm- > sdp_attributes . head ; l ; l = l - > next ) {
str * s = l - > data ;
append_attr_to_gstring ( gs , s - > s , NULL , flags , cm- > type_id ) ;
void sdp_ insert_media_attributes( GString * gs , union sdp_attr_print_arg a , const sdp_ng_flags * flags ) {
for ( __auto_type l = a. cm- > sdp_attributes . head ; l ; l = l - > next ) {
__auto_type s = l - > data ;
append_attr_to_gstring ( gs , s - > s , NULL , flags , a. cm- > type_id ) ;
}
}
static void insert_monologue_attributes( GString * gs , struct call_monologue * ml , const sdp_ng_flags * flags ) {
for ( __auto_type l = ml- > sdp_attributes . head ; l ; l = l - > next ) {
void sdp_ insert_monologue_attributes( GString * gs , union sdp_attr_print_arg a , const sdp_ng_flags * flags ) {
for ( __auto_type l = a. ml- > sdp_attributes . head ; l ; l = l - > next ) {
__auto_type s = l - > data ;
append_attr_to_gstring ( gs , s - > s , NULL , flags , MT_UNKNOWN ) ;
}
@ -3054,7 +3054,7 @@ static struct packet_stream *print_sdp_media_section(GString *s, struct call_med
/* all unknown type attributes will be added here */
if ( print_other_attrs )
insert_media_attributes ( s , media , flags ) ;
media - > sdp_attr_print ( s , media , flags ) ;
/* print sendrecv */
if ( ! flags - > original_sendrecv )
@ -3408,7 +3408,7 @@ int sdp_create(str *out, struct call_monologue *monologue, const sdp_ng_flags *f
g_string_append ( s , " t=0 0 \r \n " ) ;
if ( print_other_sess_attrs )
insert_monologue_attributes ( s , monologue , flags ) ;
monologue - > sdp_attr_print ( s , monologue , flags ) ;
for ( unsigned int i = 0 ; i < monologue - > medias - > len ; i + + ) {
media = monologue - > medias - > pdata [ i ] ;