New Python wrapper for pjsua

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

 



On Fri, Jul 11, 2008 at 10:03 AM, Adamczak Krzysztof <kradamcz at gmail.com>
wrote:

> Hey,
>
> Thank to your work - now I'm working with Python binding to pjsip so I'm
> very glad that we have new Python wrapper. Now I'm switching to this wrapper
> and I have a very short question. How I can initialize media? I'm talking
> about streaming wav files. I initialize library with line:
> lib.init(log_cfg = pj.LogConfig(level=LOG_LEVEL, callback=log_cb),
> media_cfg = pj.MediaConfig())
>
> But later when i create wav player it returns id = 0. And  when I try:
> lib.conf_connect(lib.player_get_slot(player_id), call.info().conf_slot)
>
> it returns:
> Error: Object: Lib, operation=player_get_slot(), error=Invalid player id
>
>
It's a bug in player_get_slot(), I've just fixed that.

Thanks for the report.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080711/91efba44/attachment-0001.html 


[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