Skip to content

SourceStream

property

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

Specifies a TMemoryStream, TFileStream or other TStream descendant from which the player plays a video clip (Delphi and C++Builder only).

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, assign a NULL or nil value to this property after invoking ClosePlayer, to let TVideoGrabber use the clip specified in the PlayerFileName property.