Re: [reSIProcate-users] boston bridge example problems
- From: "Richard Stellingwerff" <remenic@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 17:20:17 +0100
On Fri, Feb 29, 2008 at 4:08 PM, Richard Stellingwerff
<remenic@xxxxxxxxx> wrote:
> Hi,
>
> I'm not sure if this is the right place to ask, but I don't know where
> else to try.
>
> I've been looking at sipXmediaLib as an addition RTP stack for use in
> a soft phone. The bbridge application is an example of such an
> implementation, but I'm having difficulties getting it to work. It
> compiles and runs fine, but when I call the bbridge "phone", I get
> hear no audio (either way). Yet Wireshark shows that RTP media is
> flowing both ways. I've dug into it with a debugger, and I can see the
> MprDecode thread working, as well as the NetInTask. This leads me to
> believe that it's processing the incoming audio. SpkrThread seems to
> work too, yet nothing can be heard.
>
> I think that I may be missing something obvious here. I triplechecked
> the volume settings on both the callee and bbridge, so that's not the
> problem. The platform I'm running it on is Windows XP.
>
> Any ideas?
I've been able to find the solution myself. I knew it had to be
something simple.
Turns out that I had call giveFocus() on the CpMediaInterface I got
from mediaFactory->createMediaInterface(...).
I hope this can save someone else a lot of trouble.
Cheers.