Code sample - Network streaming using WMV format (external profile)

Delphi and C# (ActiveX) sample code.

You can broadcast video via the network using the Windows Media Video format. And you can simultaneously capture video to a file. 

You should specify the WMV profile with the video encoder settings, the maximum number of clients and the port. 

VideoCapture1.Network_Streaming_Enabled := true;
VideoCapture1.Network_Streaming_WMV_Profile_FileName := edNetworkStreamingWMVProfile.Text;
VideoCapture1.Network_Streaming_Maximum_Clients := StrToInt(edMaximumClients.Text);
VideoCapture1.Network_Streaming_Network_Port := StrToInt(edNetworkPort.Text);
VideoCapture1.Network_Streaming_Enabled = true;
VideoCapture1.Network_Streaming_WMV_Profile_FileName = edNetworkStreamingWMVProfile.Text;
VideoCapture1.Network_Streaming_Maximum_Clients = Convert.ToInt32(edMaximumClients.Text);
VideoCapture1.Network_Streaming_Network_Port = Convert.ToUInt32(edNetworkPort.Text);

The Network_Streaming_URL property contains the URL you can use to connect to be able to watch the video via the network using Windows Media Player or another application supporting this feature.

VisioForge © 2006-2019

  • GitHub-Mark-64px
  • Twitter Социальные Иконка
  • VisioForge Facebook page
  • YouTube channel