Skip to main content

Network streaming to YouTube

Products: Video Capture SDK .Net, Video Edit SDK .Net, Media Player SDK .Net

Sample app usage

You can perform network streaming using RTMP protocol to stream live video to YouTube or other services that support RTMP.

In the Main Demo, enable Network streaming and select RTMP streaming using FFMPEG.

Enable audio streaming. It's required by YouTube protocol.

In the URL text box, you must enter the URL and key that you received on YouTube. Usually, the URL is like "rtmp://a.rtmp.youtube.com/live2". The key is like "2taa-6j9s-4rrs-6eepj". You must combine it: YOUTUBE_URL/KEY, and enter it in Main Demo.

Press Start. After several seconds, you'll see a video stream on YouTube.

screenshot 1

Required redists

  • SDK redist
  • FFMPEG redist x86 x64

Visit our GitHub page to get more code samples.