Is it possible to use pjsua2 in python to use AudioMedia Memory/Buffer-based Playback Port in real time?

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


Hi everyone.

I'm using pjsua2 from pjproject v2.9 to develop a SIP integration client. According with the PJSUA2 Media documentation, from python is only possible to:
  • Capture device’s AudioMedia
  • Playback device’s AudioMedia
  • Get Call AudioMedia
  • Play a Wav (pj::AudioMediaPlayer)
  • Record a Wav (pj::AudioMediaRecorder)
It seems in C this is possible using media port (, in python do no exist MediaPort to try to bypass the callback.

For performance, I'm interested on take the raw binary data from frames for make audio processing. Is it possible to manage the audio frame in memory without record a Wav file? If not, It would be supported in the future? 

I explain the problem with references to the documentation in this StackOverflow post:

Thanks in advance.


Víctor Goñi Sanz

Tecnología | Biometría de Voz


Veridas Digital Authentication Solutions S.L.

Polígono Industrial Talluntxe II, Calle M-10

31192, Tajonar, Navarra, SPAIN

  Map:    Veridas


  Email:  vgoni@xxxxxxxxxxxx

  Phone: +34 948 24 62 95
  Mobile: +34 622 226 276

Visit our blog:

pjsip mailing list

[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