Hi Senthil, Did you get the source from the latest SVN? Conference bridge has just been updated about few days ago to support mixing stereo/multichannel and mono ports connected to it. It should work with stereo wav file now (even if conference is opened in mono channel). Regards, nanang On 06/04/2008, Senthil Raja <vsraja at yahoo.com> wrote: > > > Hi, > I tried to execute "confsample" from the pjsip samples and got the > following error (see below). Could some one explain what this error means. > FYI, the ininput file "welcome.wav" was created using "recfile" sample. > > Thanks, > Senthil. > > ../pjproject-0.8.0/pjsip-apps/bin/samples/confsample-i686-pc-linux-gnu > welcome.wav > 16:42:21.441 os_core_unix.c pjlib 0.8.0 for POSIX initialized > 16:42:21.462 pasound.c PortAudio sound library initialized, status=0 > 16:42:21.469 pasound.c PortAudio host api count=1 > 16:42:21.485 pasound.c Sound device count=1 > 16:42:21.504 pjlib select() I/O Queue created (0x809121c) > 16:42:21.518 conference.c Creating conference bridge with 3 ports > 16:42:21.593 pasound.c Opened device /dev/dsp(OSS)//dev/dsp(OSS) for > recording and playback, sample rate=44100, ch=1, bits=16, 882 samples per > frame, input latency=23 ms, output latency=23 ms > 16:42:21.599 pasound.c Starting /dev/dsp stream.. > 16:42:21.688 pasound.c Recorder thread started > 16:42:21.691 os_core_unix.c Info: possibly re-registering existing thread > 16:42:21.699 pasound.c Player thread started > 16:42:21.706 pasound.c Done, status=0 > 16:42:21.708 conference.c Sound device successfully created for port 0 > 16:42:21.710 wav_writer.c File writer 'confrecord.wav' created: > samp.rate=44100, bufsize=4KB > 16:42:21.718 wav_player.c File player 'welcome.wav' created: > samp.rate=44100, ch=2, bufsize=4KB, filesize=1188KB > confsample-i686-pc-linux-gnu: ../src/pjmedia/conference.c:678: > pjmedia_conf_add_port: Assertion `!"Number of channels mismatch"' failed. > Aborted > > > ------------------------------ > You rock. That's why Blockbuster's offering you one month of Blockbuster > Total Access<http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, > No Cost. > > _______________________________________________ > 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/20080407/f90ecac5/attachment-0001.html