The VoipMediaEngine..::.PhoneLineRecord type exposes the following members.
The Object's finalizer.(Overrides Object..::.Finalize()()().)
The StartPhoneLineRecording procedure allows application software to start full duplex call recording for any specified phone line. All call recording details are handled internally and required no additional application intervention. Any RTP media data that enters or leaves the specified phone line will be processed and digitally mixed. The resulting audio data can then be presented to the application as sample blocks or written directly to a multimedia file.
To stop recording phone line audio application software should call the StopPhoneLineRecording API procedure.
Application software can use the VOIP Media Engine call recording capabilities in two distinct ways:
The StopPhoneLineRecording procedure allows application software to stop phone line recording. The media engine will stop sending recorded sample blocks to the application (if applicable) and close the record sample file (if applicable).
If the application specified that the wave file format is to be used for recorded phone line audio, the wave file will be created when this API procedure is called. Until this API procedure is called, all recorded audio resides in a data file using raw PCM samples. The wave file will also be created as soon as the call terminates.