PJSIP: streamutil not working

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

 



Hi,

I tried to debug the issue.
src is not being initialized before it is being used and thus it has the
value as NULL.
I did malloc on param:
info.param = (pjmedia_codec_param *) malloc( sizeof(pjmedia_codec_param) );
in create_stream() in streamutil.c

But now it gives floating point exception.
Kindly help me solve this issue.

Thanks,
Tanvi


On Tue, Jul 9, 2013 at 10:13 AM, Tanvi Sachdeva <tanvi164 at gmail.com> wrote:

> Hi,
>
> I am trying to stream audio using streamutil app in samples, but when I
> execute the binary it gives following error:
>
> root at administrator-HP-Z220-CMT-Workstation:~/pjproject-2.1.0/pjsip-apps/bin/samples/i686-pc-linux-gnu#
> ./streamutil
> 16:41:20.669 os_core_unix.c !pjlib 2.1 for POSIX initialized
> 16:41:20.693       pa_dev.c  PortAudio sound library initialized, status=0
> 16:41:20.694       pa_dev.c  PortAudio host api count=2
> 16:41:20.694       pa_dev.c  Sound device count=11
> 16:41:20.694          pjlib  select() I/O Queue created (0x99c1434)
> *streamutil: ../src/pjmedia/codec.c:53: pjmedia_codec_param_clone:
> Assertion `pool && src' failed.*
> *Aborted (core dumped)*
>
>
>
> Kindly help me solve this issue.
>
> Thanks,
> Tanvi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130709/2dab958a/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