Skip to content

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 returns a unique ID that is assigned when creating the instance.

To configure the encoder, this ID must be passed to Encoder_SetStr and Encoder_SetInt .

The instance is used only once enabled: Encoder_SetInt (ID, Enc_IsActive_bool, 1), with Enc_Video_Enabled_bool and/or Enc_Audio_Enabled_bool set to 1. See the "Pushing to a Wowza server" sample in Record/Stream/Merge/Transcode through the Datastead Multipurpose Encoder.

While the video is running:

Once the video is stopped (VideoGrabber.Stop()):