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
- Select the video source by assigning the VideoSource property:
- to stream an audio capture device, set VideoSource = vs_VideoCaptureDevice:
- if the audio comes out of the current video capture device, set VideoDevice = index in the VideoDevices list,
- if the audio comes out of the current audio capture device, set VideoDevice = -1, then set AudioDevice = index of the audio capture device in the AudioDevices list,
- 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.
- to stream an audio capture device, set VideoSource = vs_VideoCaptureDevice:
- Assign a value to NetworkStreaming.
- 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.