tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
165f180162
commit
e594105972
|
@ -698,6 +698,10 @@ static int activate_rtp(struct private_object *tech_pvt)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (!(tech_pvt->remote_ip && tech_pvt->remote_port)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (switch_core_codec_init(&tech_pvt->read_codec,
|
||||
tech_pvt->codec_name,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in New Issue