Multithreading issue with PJMedia

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

 



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




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