Fw:Fw:hold unhold problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 And in this function , thers are comments:
 
  /* We're risking accessing the port without holding any mutex.
     * It's possible that port is disconnected then destroyed while
     * we're trying to access it.
     * But in the name of performance, we'll try this approach until
     * someone complains when it crashes.
     */
 
Is this a risk ?
  
 
 
 
---------- ?????? ----------
????"hlzhangxt at 163.com" 
?????2008-04-03 21:23:18
????pjsip <pjsip at lists.pjsip.org>
??? Fw:hold unhold problem

 
 I search the pjmedia source code, and find where the problem is.
 
 In file sound_port.c, callback function: play_cb
 
    status = pjmedia_port_get_frame(port, &frame);
    if (status != PJ_SUCCESS)
    {
       PJ_LOG(4,(THIS_FILE, "pjmedia_port_get_frame failed"));
       goto no_frame;
    }
 
 
    if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO)
   {
   
     goto no_frame;
    }
 
 
  After unhold, frame.type != PJMEDIA_FRAME_TYPE_AUDIO , 
  Who can solve this problem?
 
 
---------- ?????? ----------
????"hlzhangxt <hlzhangxt at 163.com>" 
?????2008-04-03 20:32:39
????pjsip <pjsip at lists.pjsip.org>
??? hold unhold problem

 
 
 
 I have successfully integrated voiceage g729 with pjsip. 
 But, there is a problem.
 
 A is pjusa,  B is another sip phone.
 A is talking with B,  B press hold key, then A start to listen to hold music.
 After a while, B press unhold key, music stop.
 Then B can hear A's voice, but A can not hear B's voice.
 
 What's the problem?



? ? ? ? ? ? --- ? ? ? ? ? ? ?166 ? ? ? ? ? ? ?


? ? ? ? ? ? --- ? ? ? ? ? ? ?166 ? ? ? ? ? ? ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080403/85748431/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux