There is an example to forward your video stream to YouTube-Live, do the following steps:
1. The premise is that you registered at YouTube to use the live service.
2. Live streaming has to be activated in your YouTube account
(Help).
4. Find out your RTMP-URL and the uniquie streaming ID.
rtmp://a.rtmp.youtube.com/live2/[your_channe/ID] will look like: rtmp://a.rtmp.youtube.com/live2/yourkey-1234.1yyz-4g41-1aq4-abcd
5. Enable and save
rtmp://xxx.xxx.xxx/live/4287d69ef405428c?wsSecret=5ba27f7bb727f1b8249d0e1404a398a8&wsTime=5acd71a