Fw: Multithreading issue with PJMedia

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

 



I would really appreciate if somebody could answer the below query. Thanks!!



--- On Wed, 2/11/09, manjeet soodan <manjeetss1 at yahoo.com> wrote:
From: manjeet soodan <manjeetss1@xxxxxxxxx>
Subject: Multithreading issue with PJMedia
To: pjsip at lists.pjsip.org
Date: Wednesday, February 11, 2009, 8:37 PM

Hi,

Is it ok if i create two pjmedia streams(str1, str2) in the main thread, where the 2 Media Endpoints instantiate there own two internal IOQueues and start one poll worker thread each to poll the IOQueue.

Now if i try to access these media streams from another thread, which calls
pjmedia_port_get_frame(str1) and pjmedia_port_put_frame(str2) to get and put
frames from the above created streams, would it cause any problem?

Does creating a poll worker thread has any issues, if i access the streams
from a totally different thread?

Thanks
Manjeet




      _______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090211/b75b64cf/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