[pjsip] sampled data buffer

Benny Prijono bennylp at pjsip.org
Thu Sep 20 13:14:57 EDT 2007


anass kartit wrote:
> Hey benny,
> I want to manipulate the buffer that holds the voice data before sending 
> it where can I find the buffer, is it rtp[]?

The buffer will be in pjmeda_frame. If you want to manipulate it, 
best way is to implement your own pjmedia_port so that you can hook 
your port to the rest of pjmedia framework.

Have a look at the resample port (resample_port.c) for a sample of 
media port which manipulates the audio data.

  -benny


> Sincerely,
> Anass Kartit






More information about the pjsip mailing list