Skip to content

SourceStream

property

Delphi
property SourceStream: TStream read GetSourceStream write SetSourceStream;
C++Builder
__property System::Classes::TStream* SourceStream = {read=GetSourceStream, write=SetSourceStream};

Used to play a video clip from a TMemoryStream, TFileStream or TStream descendent.

When this property is assigned before invoking OpenPlayer , the stream data is used as source by the player.

To go back to the normal player behavior, set a NULL or nil value to this property after invoking ClosePlayer to let TVideoGrabber use the clip specified in the PlayerFileName property.