Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
Old May 26th, 2011, 09:07 PM
Registered User
Points: 21, Level: 1
Points: 21, Level: 1 Points: 21, Level: 1 Points: 21, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08:08 AM
PASS conference SQLScott SQL Server 2000 1 November 6th, 2006 08:14 AM
PASS Conference SQLScott SQL Server 2005 0 November 5th, 2006 11:02 PM
replace audio conference into web base conference auxiora_nemesis Beginning PHP 5 February 20th, 2004 12:20 AM



All times are GMT -4. The time now is 07:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.