mmserv/tms/tmsfactory/src/tmsfactoryimpl.cpp
changeset 20 b67dd1fc57c5
parent 14 80975da52420
child 33 5e8b14bae8c3
equal deleted inserted replaced
19:4a629bc82c5e 20:b67dd1fc57c5
    66         {
    66         {
    67         case TMS_CALL_CS:
    67         case TMS_CALL_CS:
    68         case TMS_CALL_IP:
    68         case TMS_CALL_IP:
    69             flag = ETrue;
    69             flag = ETrue;
    70             break;
    70             break;
    71         case TMS_CALL_ECS: //from TB 10.2
       
    72         case TMS_CALL_RTP: //from TB 10.2
       
    73         default:
    71         default:
    74             flag = EFalse;
    72             flag = EFalse;
    75             break;
    73             break;
    76         }
    74         }
    77     return ret;
    75     return ret;
   246     }
   244     }
   247 
   245 
   248 gint TMSFactoryImpl::QueryDevice(const TMSStreamType strmtype)
   246 gint TMSFactoryImpl::QueryDevice(const TMSStreamType strmtype)
   249     {
   247     {
   250     gint ret(TMS_RESULT_SUCCESS);
   248     gint ret(TMS_RESULT_SUCCESS);
   251     TMSProxy* session = new TMSProxy;
   249     TMSProxy* session = new TMSProxy();
   252     if (session)
   250     if (session)
   253         {
   251         {
   254         if (session->Connect() == TMS_RESULT_SUCCESS)
   252         if (session->Connect() == TMS_RESULT_SUCCESS)
   255             {
   253             {
   256             if (strmtype == TMS_STREAM_UPLINK)
   254             if (strmtype == TMS_STREAM_UPLINK)