Edit

Share via


Recorder Class

Definition

The Recorder class represents an entity that is capable of recording media.

public ref class Recorder
public class Recorder
type Recorder = class
Public Class Recorder
Inheritance
Recorder

Remarks

The recorder's input comes from an AudioVideoFlow instance; its output is written to a media sink, which is an instance of a subclass of the MediaSink class.

Constructors

Recorder()

Creates a new instance of the Recorder class.

Properties

AudioVideoFlow

Gets the AudioVideoFlow instance that is attached to this recorder.

Sink

Gets the media sink to be written to by this recorder.

State

Gets the recorder's current state.

Methods

AttachFlow(AudioVideoFlow)

Attaches an AudioVideoFlow instance to this recorder.

DetachFlow()

Detaches an AudioVideoFlow instance from this recorder.

Pause()

Pauses the recorder.

RemoveSink()

Removes the media sink from this recorder.

SetSink(MediaSink)

Sets the media sink for this recorder.

Start()

Starts and resume recording.

Stop()

Stops recording.

Events

StateChanged

Raised to notify an application that the recorder's state has changed.

VoiceActivityChanged

Raised to notify an application that recorder detected a change in voice state (noise or voice).

Applies to