Wrox Programmer Forums
|
BOOK: Professional Unified Communications Development with Microsoft Lync Server 2010
This is the forum to discuss the Wrox book Professional Unified Communications Development with Microsoft Lync Server 2010 by George Durzi, Michael Greenlee; ISBN: 978-0-470-93903-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Unified Communications Development with Microsoft Lync Server 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2011, 01:43 PM
Registered User
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Conference Recorder Problem

On page 368 under Detecting Speech on a Call

The sample code shows that the recorder should still respond to the VoiceActivityChanged event even while paused, but I'm unable to get that to work. While the recorder is paused, the event does not fire. I am using the most recent release of UCMA 3 for the project.

I need to be able to output a seperate audio file whenever somebody speaks on the conference. I know that sounds odd, but the amount of voice traffic isn't very much and each event needs to be recorded.
 
Old May 26th, 2011, 09:07 PM
Registered User
 
Join Date: May 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You're right, that sample is misleading as it's written. To have a separate file for each time someone speaks, your best bet is to keep the Recorder running continually, and check the TimeStamp property on the event args every time your VoiceActivityChanged event handler is invoked as well as the IsVoice property. You can then keep track of every time the voice activity started or stopped, and trim the single WMA file produced by the Recorder into separate files using those times.

Hope this helps, and let me know if you have follow-up questions.

Michael





Similar Threads
Thread Thread Starter Forum Replies Last Post
Launch Macro Recorder ON from Workbook_Open skhan007 Excel VBA 2 October 29th, 2008 09:58 PM
Sound recorder kesitinhluoibieng Visual C++ 1 December 31st, 2006 09:08 AM
PASS conference SQLScott SQL Server 2000 1 November 6th, 2006 09:14 AM
PASS Conference SQLScott SQL Server 2005 0 November 6th, 2006 12:02 AM
replace audio conference into web base conference auxiora_nemesis Beginning PHP 5 February 20th, 2004 01:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.