Can i go youtube/facebook live in mangOH RED board by using RTMP protocol

I need a example code for youtube live by using libcurl rtmp

Have you tried gstreamer yet?