feanoer

Results 5 comments of feanoer

Yes, I called both stop_transport first and then close_transport for the transport that i have created. While testing i noticed this behaviour: Let's assume at the beginning that the user...

Thanks jimying. PJ_IOQUEUE_MAX_HANDLES was def to 64. So I have increase it to 256 and now i can do the steps about 128 times: so the ioqueue have more capacity...

I looked at my code and noticed that ioqueue grows out of control because both the pjmedia_transport_udp_create and pjmedia_transport_udp_attach functions add their own rtp and rtcp sockets (total +4 each...

I replaced pjmedia_transport_udp_attach() with pjmedia_transport_attach() and it's correct that ioqueue don't register another couple of socket unwanted, but in this way, considering always the example that i made before `st1...

Looking in the src of pjmedia i see that in transport_udp.c the function `static pj_status_t transport_attach` has this line `/* Must not be "attached" to existing application */ PJ_ASSERT_RETURN(!udp->attached, PJ_EINVALIDOP);`...