C# Class iSpyApplication.Sources.Video.FfmpegStream

Inheritance: IVideoSource, IAudioSource, ISupportsAudio, IDisposable
Afficher le fichier Open project: ispysoftware/iSpy Class Usage Examples

Méthodes publiques

Свойство Type Description
AnalyzeDuration int
Cookies string
Duration long
Headers string
OutAudio IAudioSource
PlaybackRate double
RTSPMode int
SampleChannel NAudio.Wave.SampleProviders.SampleChannel
Seekable bool
Timeout int
UserAgent string

Méthodes publiques

Méthode Description
Dispose ( ) : void
FfmpegStream ( ) : System

Initializes a new instance of the FfmpegStream class.

FfmpegStream ( string source ) : System

Initializes a new instance of the FfmpegStream class.

ProcessAudio ( byte data ) : void
SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
SignalToStop ( ) : void

Calls Stop

Start ( ) : void

Start video source.

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

Stop ( ) : void

Stop video source.

WaitForStop ( ) : void

Calls Stop

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
EventManager ( ) : void
FfmpegListener ( ) : void
ShutDown ( string errmsg ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FfmpegStream() public méthode

Initializes a new instance of the FfmpegStream class.
public FfmpegStream ( ) : System
Résultat System

FfmpegStream() public méthode

Initializes a new instance of the FfmpegStream class.
public FfmpegStream ( string source ) : System
source string URL, which provides video stream.
Résultat System

ProcessAudio() public méthode

public ProcessAudio ( byte data ) : void
data byte
Résultat void

SampleChannelPreVolumeMeter() public méthode

public SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
sender object
e NAudio.Wave.SampleProviders.StreamVolumeEventArgs
Résultat void

SignalToStop() public méthode

Calls Stop
public SignalToStop ( ) : void
Résultat void

Start() public méthode

Start video source.
Starts video source and return execution to caller. Video source object creates background thread and notifies about new frames with the help of NewFrame event.
Video source is not specified.
public Start ( ) : void
Résultat void

Stop() public méthode

Stop video source.
public Stop ( ) : void
Résultat void

WaitForStop() public méthode

Calls Stop
public WaitForStop ( ) : void
Résultat void

Property Details

AnalyzeDuration public_oe property

public int AnalyzeDuration
Résultat int

Cookies public_oe property

public string Cookies
Résultat string

Duration public_oe property

public long Duration
Résultat long

Headers public_oe property

public string Headers
Résultat string

OutAudio public_oe property

public IAudioSource OutAudio
Résultat IAudioSource

PlaybackRate public_oe property

public double PlaybackRate
Résultat double

RTSPMode public_oe property

public int RTSPMode
Résultat int

SampleChannel public_oe property

public SampleChannel,NAudio.Wave.SampleProviders SampleChannel
Résultat NAudio.Wave.SampleProviders.SampleChannel

Seekable public_oe property

public bool Seekable
Résultat bool

Timeout public_oe property

public int Timeout
Résultat int

UserAgent public_oe property

public string UserAgent
Résultat string