Network streaming to YouTube
Sample app usage
You can perform network streaming using RTMP protocol to stream live video to YouTube or other services that support RTMP.
In Main Demo, enable Network streaming, 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, 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.
Visit our GitHub page to get more code samples.