C# Class iSpyApplication.Sources.Audio.streams.FfmpegAudioStream

Inheritance: IAudioSource, IDisposable
Mostra file Open project: ispysoftware/iSpy

Public Properties

Property Type Description
AnalyseDuration int
Cookies string
Headers string
Timeout int
UserAgent string

Private Properties

Property Type Description
FfmpegListener void
ShutDown void

Public Methods

Method Description
Dispose ( ) : void
FfmpegAudioStream ( ) : System

Initializes a new instance of the LocalDeviceStream class.

FfmpegAudioStream ( string source ) : System

Initializes a new instance of the LocalDeviceStream class.

SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
Start ( ) : void

Start audio source.

Starts audio source and return execution to caller. audio source object creates background thread and notifies about new frames with the help of DataAvailable event.

Stop ( ) : void

Stop audio source.

Stops audio source.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
FfmpegListener ( ) : void
ShutDown ( string errmsg ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FfmpegAudioStream() public method

Initializes a new instance of the LocalDeviceStream class.
public FfmpegAudioStream ( ) : System
return System

FfmpegAudioStream() public method

Initializes a new instance of the LocalDeviceStream class.
public FfmpegAudioStream ( string source ) : System
source string source, which provides audio data.
return System

SampleChannelPreVolumeMeter() public method

public SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
sender object
e NAudio.Wave.SampleProviders.StreamVolumeEventArgs
return void

Start() public method

Start audio source.
Starts audio source and return execution to caller. audio source object creates background thread and notifies about new frames with the help of DataAvailable event.
audio source is not specified.
public Start ( ) : void
return void

Stop() public method

Stop audio source.

Stops audio source.

public Stop ( ) : void
return void

Property Details

AnalyseDuration public_oe property

public int AnalyseDuration
return int

Cookies public_oe property

public string Cookies
return string

Headers public_oe property

public string Headers
return string

Timeout public_oe property

public int Timeout
return int

UserAgent public_oe property

public string UserAgent
return string