Use the following code to record to an ASF file:
RTE.MaxSize = 5000 ' 5 MB file maximum size RTE.RecordFileName = "Sample.asf" RTE.RecordStart
To stop a recording:
RTE.RecordStop
You can start and stop a recording at any time during an encoding session.
For more discussion on using the other methods and properties, see the Real-Time Encoder Automation Reference.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.