Ignore:
Timestamp:
Mar 11, 2016 4:17:32 AM (8 years ago)
Author:
nanang
Message:

Re #1900:

  • Works on UWP socket & ioqueue.
  • Media transport UDP: cancel any pending send on detach, otherwise there is possibility that send buffer is already freed by application (stream) when the send op starts.
  • Ioqueue common abs: rename 'generic' as it seems to be a keyword in C++/CX, fixed #if/#endif possition in ioqueue_init_key().
  • pjsua GUI app: fixed thread registration status check.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/MyApp.cpp

    r5254 r5256  
    471471 
    472472    try { 
     473        sipTpConfig->port = 5060; 
    473474        ep.transportCreate(::pjsip_transport_type_e::PJSIP_TRANSPORT_TCP, 
    474475                           *sipTpConfig); 
     
    583584bool MyAppRT::isThreadRegistered() 
    584585{ 
    585     return ep.libIsThreadRegistered(); 
     586    // Some threads are registered using PJLIB API, ep.libIsThreadRegistered() will return false on those threads. 
     587    //return ep.libIsThreadRegistered(); 
     588    return pj_thread_is_registered() != PJ_FALSE; 
    586589} 
    587590 
Note: See TracChangeset for help on using the changeset viewer.