MediaStreamSink::setFilename Method

Sets the target video filename.
Syntax:
bool setFilename( const std::string& str ) const;
bool setFilename( const std::wstring& str ) const;

Parameter Description
str

Name of the target video file.

Return Value:

Value Description
true The filename was successfully set.
false The filename was not set, e.g. because the sink was already streaming.

Remarks:

This method can not be called when the grabber to which this sink was assigned is in live mode.

See also: MediaStreamSink

<< MediaStreamSink