[pjsip] a few questions

Benny Prijono bennylp at teluu.com
Wed Aug 19 06:46:24 EDT 2009


On Wed, Aug 19, 2009 at 10:16 AM, Tiago Ferreira<maiaboy at hotmail.com> wrote:
> I have a very noob question. When I use the player, the sound goes out the
> source computer that is running pjsip. But it never reaches the end computer
> that is running the soft phone.

Actually that's because you're instructing pjsua to do that, with
conf_connect(file, 0). You need to use
"conf_connect(lib.player_get_slot(player), call_info.conf_slot)"
instead, and you need to do this in your on_media_state callaback. I
think the doc has been clear about it, hasn't it? ;-)

Cheers
 Benny




More information about the pjsip mailing list