C# Class iSpyApplication.Sources.Video.VlcStream

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

Méthodes publiques

Свойство Type Description
BytePacket int
FormatWidth int
OutAudio IAudioSource
Seekable bool
Time long
TimeOut int

Méthodes publiques

Méthode Description
CheckTimestamp ( ) : void
Dispose ( ) : void
DisposePlayer ( ) : void
EventsDurationChanged ( object sender, Declarations.Events.MediaDurationChange e ) : void
EventsStateChanged ( object sender, Declarations.Events.MediaStateChange e ) : void
EventsTimeChanged ( object sender, Declarations.Events.MediaPlayerTimeChanged e ) : void
SampleChannelPreVolumeMeter ( object sender, NAudio.Wave.SampleProviders.StreamVolumeEventArgs e ) : void
Seek ( float percentage ) : 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 ( bool requested ) : void

Stop video source.

VlcStream ( ) : System

Initializes a new instance of the VlcStream class.

VlcStream ( string source, string arguments ) : System

Initializes a new instance of the VlcStream class.

WaitForStop ( ) : void

Calls Stop

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
EventManager ( ) : void
FrameCallback ( Bitmap frame ) : void
Handler ( Exception ex ) : void
SoundCallback ( Declarations.Sound soundData ) : void
SoundFormatCallback ( Declarations.SoundFormat sf ) : Declarations.SoundFormat
ToStereo ( byte input, int fromChannels ) : byte[]
WorkerThread ( ) : void

Method Details

CheckTimestamp() public méthode

public CheckTimestamp ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

DisposePlayer() public méthode

public DisposePlayer ( ) : void
Résultat void

EventsDurationChanged() public méthode

public EventsDurationChanged ( object sender, Declarations.Events.MediaDurationChange e ) : void
sender object
e Declarations.Events.MediaDurationChange
Résultat void

EventsStateChanged() public méthode

public EventsStateChanged ( object sender, Declarations.Events.MediaStateChange e ) : void
sender object
e Declarations.Events.MediaStateChange
Résultat void

EventsTimeChanged() public méthode

public EventsTimeChanged ( object sender, Declarations.Events.MediaPlayerTimeChanged e ) : void
sender object
e Declarations.Events.MediaPlayerTimeChanged
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

Seek() public méthode

public Seek ( float percentage ) : void
percentage float
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

public Stop ( ) : void
Résultat void

Stop() public méthode

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

VlcStream() public méthode

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

VlcStream() public méthode

Initializes a new instance of the VlcStream class.
public VlcStream ( string source, string arguments ) : System
source string URL, which provides VLCstream.
arguments string
Résultat System

WaitForStop() public méthode

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

Property Details

BytePacket public_oe property

public int BytePacket
Résultat int

FormatWidth public_oe property

public int FormatWidth
Résultat int

OutAudio public_oe property

public IAudioSource OutAudio
Résultat IAudioSource

Seekable public_oe property

public bool Seekable
Résultat bool

Time public_oe property

public long Time
Résultat long

TimeOut public_oe property

public int TimeOut
Résultat int