mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-07 02:39:20 +00:00
removing sdp port check, filling local sdp port always
This commit is contained in:
parent
40ea22d882
commit
a8c545d376
@ -2223,7 +2223,8 @@ if((NOTPRSNT == med->numComp.pres) || (0 == med->numComp.val)){
|
|||||||
media = med->mediaDesc[j];
|
media = med->mediaDesc[j];
|
||||||
/* check for choose port and fill the port */
|
/* check for choose port and fill the port */
|
||||||
if(NOTPRSNT != media->field.id.type.pres){
|
if(NOTPRSNT != media->field.id.type.pres){
|
||||||
if(CM_SDP_VCID_CHOOSE == media->field.id.type.val){
|
//if(CM_SDP_VCID_CHOOSE == media->field.id.type.val)
|
||||||
|
{
|
||||||
MG_INIT_TOKEN_VALUE(&(media->field.id.type),CM_SDP_VCID_PORT);
|
MG_INIT_TOKEN_VALUE(&(media->field.id.type),CM_SDP_VCID_PORT);
|
||||||
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.type),CM_SDP_PORT_INT);
|
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.type),CM_SDP_PORT_INT);
|
||||||
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.u.portInt.pres),1);
|
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.u.portInt.pres),1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user