Skip to content

Audio broadcasting

Overview

Live network streaming of the audio stream only can be performed:

  • directly to the network when NetworkStreaming = ns_ASFDirectNetworkStreaming,
  • to a Windows Media Server when NetworkStreaming = ns_ASFStreamingToPublishingPoint.

Set NetworkStreamingType = nst_AudioStreaming to select the audio streaming only.

Starting the audio source

  1. Select the video source by assigning the VideoSource property:
    • to stream an audio capture device, set VideoSource = vs_VideoCaptureDevice:
    • to stream a video clip or an audio clip, set VideoSource = vs_VideoFileOrURL, then assign the video clip or audio clip to use to VideoSource_FileOrURL.
  2. Assign a value to NetworkStreaming.
  3. Invoke StartAudioRendering for audio streaming only, or StartAudioRecording for audio streaming + recording.

Stopping the audio source

Invoke StopPreview or StopRecording.

Set NetworkStreaming = ns_Disabled to disable the streaming.