jimying

Results 26 comments of jimying

You need debug print local-sdp to see why no any media codec match. Try another function pjmedia_sdp_neg_get_neg_local() to get local sdp, and print it

******* ``` You can try add pjproject as a component of your project, you need write a cmake file to help build. ``` [Newbie trying to use external library esp-idf-lib](https://community.platformio.org/t/newbie-trying-to-use-external-library-esp-idf-lib/26107)...

Some cases may no need uuid, so no need force link libuuid.

when tear down rtp streams, have you called function: pjmedia_transport_media_stop() and pjmedia_transport_close() to close every rtp transport ?

The capacity of ioqueue is PJ_IOQUEUE_MAX_HANDLES ( the max number of socket can register), pjmedia_transport_close() is unregister rtp stream socket fd from ioqueue. **The reason for your problem: the ioqueue...

``` pjmedia_transport_udp_create() : Create a rtp stream (register rtp/rtcp two socks to ioqueue) freeSize -2 pjmedia_transport_close(): Close a rtp stream (unregister rtp/rcp two socks from ioqueue) freeSize +2 pjmedia_transport_media_stop(): Stop...

@feanoer ``` You should use pjmedia_transport_attach() replace pjmedia_transport_udp_attach() ``` pjmedia_transport_udp_attach() register rtp/rtcp two socks to ioqueue pjmedia_transport_udp_create() has already called pjmedia_transport_udp_attach() internal, if you call pjmedia_transport_udp_attach() once again, will register...

> In pj_stun_session_send_msg (stun_session.c:973) ```c 971 /* Allocate packet */ 972 tdata->max_len = PJ_STUN_MAX_PKT_LEN; 973 //tdata->pkt = pj_pool_alloc(tdata->pool, tdata->max_len); 974 tdata->pkt = pj_pool_zalloc(tdata->pool, tdata->max_len); ``` pj_pool_zalloc() replace pj_pool_alloc() , warning...

According to [Coding Convention](https://www.pjsip.org/docs/latest/pjlib/docs/html/pjlib_coding_convention_page.htm), It can be expanded on this basis ``` --- BasedOnStyle: LLVM IndentWidth: 4 TabWidth: 8 UseTab: AlignWithSpaces BreakBeforeBraces: Linux ColumnLimit: 80 IndentCaseLabels: false # Disable single...

@sauwming I have implement this feature, please help review it. PR #3172