Skip to content

Encoders_RemoveInstance

function

Delphi
function Encoders_RemoveInstance (EncoderUniqueID: LongInt): Boolean;
C++Builder
bool __fastcall Encoders_RemoveInstance(System::LongInt EncoderUniqueID);
C#
public bool Encoders_RemoveInstance(int EncoderUniqueID);
VB.NET
Public Function Encoders_RemoveInstance(EncoderUniqueID As Integer) As Boolean
C++/Qt
BOOL Encoders_RemoveInstance (int EncoderUniqueID);

Removes the Datastead Encoder instance identified by EncoderUniqueID, previously added by Encoders_CreateInstanceForRecording or Encoders_CreateInstanceForStreaming.

Invoke this function while the video is stopped (it returns false otherwise). An instance that is not removed is used again when the video restarts.