Copyright © 2005-2019 MultiMedia Soft

VideoPlayer.VideoStreamSendToActiveMovieWin method

Previous pageReturn to chapter overviewNext page

Remarks

 

In absence of an output rendering window, set through a previous call to the VideoPlayer.VideoWindowAdd  method, decides if the video stream must be sent to the floating ActiveMovie window instead of the NullRenderer.

 

For further details about the use of the embedded video player see the VideoPlayer class section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function VideoStreamSendToActiveMovieWin (

nPlayerIndex as Int16,

bSend as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes VideoStreamSendToActiveMovieWin (

Int16 nPlayerIndex,

bool bSend

);


 

[C++]

public: enumErrorCodes VideoStreamSendToActiveMovieWin (

Int16 nPlayerIndex,

bool bSend

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that will use the video player.

bSend

Boolean value that specifies if the video stream must be sent to the ActiveMovie window instead of the NullRenderer.

Supported values are the following:

Mnemonic constant

Meaning

false (default)

Don't send the video stream to the ActiveMovie window.

true

Send the video stream to the ActiveMovie window.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.