Пример #1
0
/***********************************************************************************************************
**函数:Rtp_Lock
**功能:
**输入参数:
**返回值:
***********************************************************************************************************/
int SimpleDeleteDestination(uint32_t ipaddr,uint16_t port)
{
    if(SimpleRtpIsActive()!=true)
    {
        printf("rtp Session is error,%s ,%d\n",__FUNCTION__, __LINE__);
        return -1;
    }
    Rtp_Lock();
    sess.DeleteDestination(ipaddr,port);
    Rtp_UnLock();
    return 0;
}