No audio for other programs

JM
João Mesquita
Sun, Mar 9, 2008 5:33 AM

Guys,

I am using py_pjsua and when I run py_pjsua.start(), no audio from

other programs is played. Is this expected behavior? Is there a solution
for it?
If I use pyAudio or any other python lib to "ring" when being invited,
will py_pjsua block the device as well?

Thank you,

Mesquita

Guys, I am using py_pjsua and when I run py_pjsua.start(), no audio from other programs is played. Is this expected behavior? Is there a solution for it? If I use pyAudio or any other python lib to "ring" when being invited, will py_pjsua block the device as well? Thank you, Mesquita
JM
João Mesquita
Mon, Mar 10, 2008 2:55 AM

I now understand how the conference bridge works and I am able to "loop"
the played file to the soundcard. But I still have problems with when
pjsua is started, no other sound is played.

Is it implemented using the blocking audio I/O mode of portaudio?

Mesquita

On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote:

Guys,

I am using py_pjsua and when I run py_pjsua.start(), no audio from

other programs is played. Is this expected behavior? Is there a solution
for it?
If I use pyAudio or any other python lib to "ring" when being invited,
will py_pjsua block the device as well?

Thank you,

Mesquita


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I now understand how the conference bridge works and I am able to "loop" the played file to the soundcard. But I still have problems with when pjsua is started, no other sound is played. Is it implemented using the blocking audio I/O mode of portaudio? Mesquita On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote: > Guys, > > I am using py_pjsua and when I run py_pjsua.start(), no audio from > other programs is played. Is this expected behavior? Is there a solution > for it? > If I use pyAudio or any other python lib to "ring" when being invited, > will py_pjsua block the device as well? > > Thank you, > > Mesquita > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
NI
Nanang Izzuddin
Mon, Mar 10, 2008 5:13 PM

Do you mean other application could not access the sound card
if pjsua is running?
This may happen on some old soundcards, since AFAIK the portaudio used in
pjsip is not working in exclusive mode.

nanang

On 10/03/2008, João Mesquita jmesquita@contactnet.com.br wrote:

I now understand how the conference bridge works and I am able to "loop"
the played file to the soundcard. But I still have problems with when
pjsua is started, no other sound is played.

Is it implemented using the blocking audio I/O mode of portaudio?

Mesquita

On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote:

Guys,

   I am using py_pjsua and when I run py_pjsua.start(), no audio from

other programs is played. Is this expected behavior? Is there a solution
for it?
If I use pyAudio or any other python lib to "ring" when being invited,
will py_pjsua block the device as well?

Thank you,

Mesquita


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Do you mean other application could not access the sound card if pjsua is running? This may happen on some old soundcards, since AFAIK the portaudio used in pjsip is not working in exclusive mode. nanang On 10/03/2008, João Mesquita <jmesquita@contactnet.com.br> wrote: > I now understand how the conference bridge works and I am able to "loop" > the played file to the soundcard. But I still have problems with when > pjsua is started, no other sound is played. > > Is it implemented using the blocking audio I/O mode of portaudio? > > > Mesquita > > > On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote: > > Guys, > > > > I am using py_pjsua and when I run py_pjsua.start(), no audio from > > other programs is played. Is this expected behavior? Is there a solution > > for it? > > If I use pyAudio or any other python lib to "ring" when being invited, > > will py_pjsua block the device as well? > > > > Thank you, > > > > Mesquita > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
JM
João Mesquita
Mon, Mar 10, 2008 6:06 PM

That's weird cos I've tried it with 2 different sound cards (both new)
and I get the same behavior. That is on Linux Ubuntu.

Can that be a problem with the python binding? Should I set no_snd_dev()
while not in a call or not playing anything to the user?

Thanks,

Mesquita

On Tue, 2008-03-11 at 00:13 +0700, Nanang Izzuddin wrote:

Do you mean other application could not access the sound card
if pjsua is running?
This may happen on some old soundcards, since AFAIK the portaudio used in
pjsip is not working in exclusive mode.

nanang

On 10/03/2008, João Mesquita jmesquita@contactnet.com.br wrote:

I now understand how the conference bridge works and I am able to "loop"
the played file to the soundcard. But I still have problems with when
pjsua is started, no other sound is played.

Is it implemented using the blocking audio I/O mode of portaudio?

Mesquita

On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote:

Guys,

   I am using py_pjsua and when I run py_pjsua.start(), no audio from

other programs is played. Is this expected behavior? Is there a solution
for it?
If I use pyAudio or any other python lib to "ring" when being invited,
will py_pjsua block the device as well?

Thank you,

Mesquita


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

That's weird cos I've tried it with 2 different sound cards (both new) and I get the same behavior. That is on Linux Ubuntu. Can that be a problem with the python binding? Should I set no_snd_dev() while not in a call or not playing anything to the user? Thanks, Mesquita On Tue, 2008-03-11 at 00:13 +0700, Nanang Izzuddin wrote: > Do you mean other application could not access the sound card > if pjsua is running? > This may happen on some old soundcards, since AFAIK the portaudio used in > pjsip is not working in exclusive mode. > > nanang > > > On 10/03/2008, João Mesquita <jmesquita@contactnet.com.br> wrote: > > I now understand how the conference bridge works and I am able to "loop" > > the played file to the soundcard. But I still have problems with when > > pjsua is started, no other sound is played. > > > > Is it implemented using the blocking audio I/O mode of portaudio? > > > > > > Mesquita > > > > > > On Sun, 2008-03-09 at 02:33 -0300, João Mesquita wrote: > > > Guys, > > > > > > I am using py_pjsua and when I run py_pjsua.start(), no audio from > > > other programs is played. Is this expected behavior? Is there a solution > > > for it? > > > If I use pyAudio or any other python lib to "ring" when being invited, > > > will py_pjsua block the device as well? > > > > > > Thank you, > > > > > > Mesquita > > > > > > > > > _______________________________________________ > > > Visit our blog: http://blog.pjsip.org > > > > > > pjsip mailing list > > > pjsip@lists.pjsip.org > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >