In #60 we switched media architecture from chainlink to conference bridge.
One pjmedia_conf is created for each call.
However, I think the correct is to create one per AudioEndpoint.
This is because I originally used:
#define CLOCK_RATE 16000
in the call to pjmedia_conf_create.
With this, all samples succeed except samples/send_and_receive_fax.js.
The test only worked after I changed to:
#define CLOCK_RATE 8000
So I think we need to get the details of the stream and create the conf according to it for each AudioEndpoint.
In #60 we switched media architecture from chainlink to conference bridge. One pjmedia_conf is created for each call. However, I think the correct is to create one per AudioEndpoint. This is because I originally used:
in the call to pjmedia_conf_create. With this, all samples succeed except samples/send_and_receive_fax.js. The test only worked after I changed to:
So I think we need to get the details of the stream and create the conf according to it for each AudioEndpoint.