How to replace real-time voice with (e.g.) a mp3 file in PJSIP samples

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

 



Great! Successfully encoded and streamed. Thanks a lot, Maarten.

Now, I hope someone can help me with the 'simpleua' issue so I can stream an
audio file within a SIP VoIP session.


Regards,
Javi


2009/5/19 Maarten Sander <info at privateer-software.nl>

> Hi Javier,
>
> > BTW, I tried "Remote Streaming" (streamutil) sample application but when
> > trying to stream on the sender side I get an error:
> >
> > streamutil: ../src/pjmedia/master_port.c:67: pjmedia_master_port_create:
> > Assertion 'u_port->info.clock_rate == d_port->info.clock_rate' failed
> >
> > Searching on the mailing list archive I read this is because streamutil
> does
> > no resampling or channel number adjustment, so I need a mono WAV file
> with
> > 8kHz clock rate. My question here is where can I get an encoder in order
> to
> > transcode an audio file to this format. I'm using Debian Lenny 2.6.26-2.
>
> Try SoX <http://sox.sourceforge.net/> ("apt-get install sox" as root
> should do the trick in Debian); it allows you to convert to and from
> just about anything :)
>
> Regards,
>
> Maarten
>
> --
> Privateer Software Development (www.privateer-software.nl)
> * web usability, web accessibility, web development
> * cross-platform software development
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090519/841ddccf/attachment.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