Hi,
I am new to pjsip, sorry if I am asking something silly :-)
I would like to "disable" pjsip's audio device and connect the conference bridge to my graph. The conference bridge should be seen as a node of the processing graph.
So far, I have been doing different tests using the PJSUA2 C++ API.
- set the audio device to null using audDevManager().setNullDev() and implement the graph node as custom ports
- set the audio device to "no device" audDevManager().setNoDev() and implement my own "master port"
- implement a graph node as a pjsip audio device (using the audio device factory API)
- any other suggestion ???
Ideally, the pjsip conference bridge should run at the same clock rate and have the same frame size as the rest of the graph so that the latency is minimized (no extra buffer needed between the conference bridge and the rest of the graph).
Note that in my application, the frame size is a user settings and can not be hard coded. It won't change dynamically during operation though.
I have tested solution 1 but I need extra buffers between graph and conference bridge as the frame size is different. Furthermore, the timing of the master port is not synchronised with the audio card as it runs in its own thread.
I have also tried solution 2 but I could not get it working properly so far. I guess I did something wrong but didn't find what. Does anyone has a sample code ?
I am looking at solution 3 but it seemed to me quite complicated.
Any suggestion is welcome.
Many thanks.
Best regards,
Renaud Schoonbroodt
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org