Hey prasanna, Thanks for your solution. Now it is running but I am not getting any sounds neither from the speakers nor from the ear phones. On Mon, Apr 15, 2013 at 3:35 PM, Udit Agarwal <uditiiita at gmail.com> wrote: > Ok thanks Prasanna. > > > On Mon, Apr 15, 2013 at 2:47 PM, Prasanna Kumar Nelam < > prasannakumar.n at imimobile.com> wrote: > >> ** ** ** ** >> >> Hi Udit,**** >> >> ** ** >> >> I have never tried this one, u can try by setting PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO >> to 1 in pjmedia/include/pjmedia-audiodev/config.h file**** >> >> ** ** >> >> #ifndef PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO**** >> >> # define PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO 0**** >> >> #endif**** >> >> ** ** >> >> ** ** >> >> Prasanna Kumar.N,**** >> >> ** ** >> ------------------------------ >> >> *From:* pjsip [mailto:pjsip-bounces at lists.pjsip.org] *On Behalf Of *Udit >> Agarwal >> *Sent:* Monday, April 15, 2013 2:26 PM >> *To:* **pjsip list** >> *Subject:* Re: [pjsip] REGARDING VALUES OF pjmedia_codec_param IN >> STREAMUTIL.c**** >> >> ** ** >> >> Hey Prasanna,**** >> >> I am using LINUX(UBUNTU). That no sound device found error was coming >> when I was using playfile.c but when I am using streamutil.c, I getting the >> runtime exception. Can you please tell me how can I run my playfile.c >> application with null sound device.?**** >> >> ** ** >> >> On Mon, Apr 15, 2013 at 1:54 PM, Prasanna Kumar Nelam < >> prasannakumar.n at imimobile.com> wrote:**** >> >> Hi Udit,**** >> >> **** >> >> What is the OS u r using, as per your previous mail it is showing >> no-sound device found error. Try to run application with null sound device. >> **** >> >> **** >> >> **** >> >> Prasanna Kumar.N,**** >> >> **** >> >> **** >> ------------------------------ >> >> *From:* pjsip [mailto:pjsip-bounces at lists.pjsip.org] *On Behalf Of *Udit >> Agarwal >> *Sent:* Monday, April 15, 2013 12:07 PM >> *To:* **pjsip list** >> *Subject:* [pjsip] REGARDING VALUES OF pjmedia_codec_param IN >> STREAMUTIL.c**** >> >> **** >> >> Hello Everyone,**** >> >> I am trying to run streamutil.c from samples. Earlier I was getting >> Assertion failed because pjmedia_codec_param variable of info structure was >> not initialized. So I initialized it using malloc but now I am getting >> FLOATING POINT EXCEPTION because the values of pjmedia_codec_param >> structure's variables are still NULL and in pjmedia_create_stream of >> stream.c, these variables are used in division because of which I am >> getting the exception. Now I have to set those values, please somebody >> suggest what should I set those variables to.**** >> >> Thanks in advance. >> **** >> >> **** >> >> -- >> Udit Agarwal >> B.Tech. ( Information Technology ) , 8th Semester, >> Indian Institute of Information Technology >> **Allahabad** - 211012, ****India**** >> Email : uditiiita at gmail.com >> ****Mobile****: +91-9411656264 **** >> >> >> _______________________________________________ >> 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**** >> >> >> >> **** >> >> ** ** >> >> -- >> Udit Agarwal >> B.Tech. ( Information Technology ) , 8th Semester, >> Indian Institute of Information Technology >> **Allahabad** - 211012, ****India**** >> Email : uditiiita at gmail.com >> ****Mobile****: +91-9411656264 **** >> >> _______________________________________________ >> 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 >> >> > > > -- > Udit Agarwal > B.Tech. ( Information Technology ) , 8th Semester, > Indian Institute of Information Technology > Allahabad - 211012, India > Email : uditiiita at gmail.com > Mobile: +91-9411656264 > -- Udit Agarwal B.Tech. ( Information Technology ) , 8th Semester, Indian Institute of Information Technology Allahabad - 211012, India Email : uditiiita at gmail.com Mobile: +91-9411656264 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130415/ff59132a/attachment-0001.html>