Examples on how to use librtmp for simple rpc