Jonathan Withers | Hi, I'm trying to get the CUAE to record a call (using c#). I can get the call recording sucessfully but it doesn't stop until i terminate the call. Does anyone know how i can get the CUEA to record for 10 seconds or stop recording on demand? Here's my demo code RecordOptions opt = new RecordOptions(); opt.SetTimeout( 5 ); opt.SetConnectionId( results.connectionId ); opt.SetAudioFileFormat(AudioFileFormat.WAV);
RecordResult r = server.record( sessionId, @"C:\mycall.wav", 5, opt); Many thanks Jon |
| Please sign in to flag this as inappropriate. |