pjproject icon indicating copy to clipboard operation
pjproject copied to clipboard

Can I port the pjsip to ESP32?

Open CAIJUN111 opened this issue 3 years ago • 1 comments

I dou't know how to port the project to the esp32 for vscode,who can give me some advice?

I want to build a client for sip mobile phone with 4g module .I except it has the STUN function,which can communicate with other spi client.

thanks in advance.

CAIJUN111 avatar Apr 28 '22 07:04 CAIJUN111


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

Here is an useful project, you can start from it. pjlib for esp32 pjlib is a base module of pjproject, you need add other modules (other modules: pjlib-util, pjmedia, pjnath, pjsip .... )

if build all ok, you can start write your own sip client directly call pjsua/pjsip api.

Maybe more code need write in pjmedia module (Access media device use ESP32 platform api interface):

  • audio capture/playback
  • video capture/render

You also can write sip client not use pjsip library. (stun/turn support, you can ask below these github projects)

jimying avatar May 06 '22 05:05 jimying