pjmedia recording from conference bridge

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

 



Hi

I try to do a recording of a call using this code in  
on_call_media_state(..)

const pj_str_t fileName = pj_str("myfile.wav");
pj_status_t res = pjsua_recorder_create(&fileName,0,NULL,-1,0, &r_id);
res = pjsua_conf_connect(  pjsua_call_get_conf_port(call_id), 
pjsua_recorder_get_conf_port(r_id));

I interpret this as the source for the recoring is the call and the sink 
is my recorder.

The problem I have is that only the incoming audio is recorded. Nothing 
I say in the mic ends up in the .wav file. I do hear my voice in the 
other end so there is audio but it is not recorded. Am I missing 
something on how the conference bridge and ports are working.



[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