C# Class iSpyApplication.Sources.Video.VlcStream

Inheritance: IVideoSource, IAudioSource, ISupportsAudio, IDisposable
Datei anzeigen Open project: ispysoftware/iSpy Class Usage Examples

Public Properties

Property Type Description
BytePacket int
FormatWidth int
OutAudio IAudioSource
Seekable bool
Time long
TimeOut int

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

public CheckTimestamp ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

DisposePlayer() public method

public DisposePlayer ( ) : void
return void

EventsDurationChanged() public method

public EventsDurationChanged ( object sender, Declarations.Events.MediaDurationChange e ) : void
sender object
e Declarations.Events.MediaDurationChange
return void

EventsStateChanged() public method

public EventsStateChanged ( object sender, Declarations.Events.MediaStateChange e ) : void
sender object
e Declarations.Events.MediaStateChange
return void

EventsTimeChanged() public method

public EventsTimeChanged ( object sender, Declarations.Events.MediaPlayerTimeChanged e ) : void
sender object
e Declarations.Events.MediaPlayerTimeChanged
return void

SampleChannelPreVolumeMeter() public method

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

Seek() public method

public Seek ( float percentage ) : void
percentage float
return void

SignalToStop() public method

Calls Stop
public SignalToStop ( ) : void
return void

Start() public method

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
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

Stop video source.
public Stop ( bool requested ) : void
requested bool
return void

VlcStream() public method

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

VlcStream() public method

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

WaitForStop() public method

Calls Stop
public WaitForStop ( ) : void
return void

Property Details

BytePacket public_oe property

public int BytePacket
return int

FormatWidth public_oe property

public int FormatWidth
return int

OutAudio public_oe property

public IAudioSource OutAudio
return IAudioSource

Seekable public_oe property

public bool Seekable
return bool

Time public_oe property

public long Time
return long

TimeOut public_oe property

public int TimeOut
return int