Streaming through the Datastead Encoder
Creating and configuring an instance
To create an instance that will stream to the network, invoke Encoders_CreateInstanceForStreaming
The function return an unique ID that is attribued when creating the instance.
To configure then encoder, this ID must be passed to Encoder_SetStr and Encoder_SetInt .
While the video is running:
- the instance can be paused with Encoder_Pause and resumed with Encoder_Resume
Once the video is stopped (VideoGrabber.Stop()):
-
an encoder instance can be removed by invoking Encoders_RemoveInstance , otherwise it will be active again when restarting the video.
-
to remove all the encoders instances associated with a TVideoGrabber component invoke Encoders_RemoveAllInstances