|
|
|
@ -1880,11 +1880,8 @@ int monologue_offer_answer(struct call_monologue *monologue, GQueue *streams, |
|
|
|
* offerer or WAS sent to the answerer. */ |
|
|
|
|
|
|
|
/* deduct protocol from stream parameters received */ |
|
|
|
if (!other_media->protocol) { |
|
|
|
if (!other_media->protocol) |
|
|
|
other_media->protocol = sp->protocol; |
|
|
|
if (!other_media->protocol) |
|
|
|
other_media->protocol = &transport_protocols[PROTO_RTP_AVP]; |
|
|
|
} |
|
|
|
/* allow override of outgoing protocol even if we know it already */ |
|
|
|
if (flags && flags->transport_protocol) |
|
|
|
media->protocol = flags->transport_protocol; |
|
|
|
|