Answer for How to: Speex in RTMP stream and HLS
Actually, the transcoder can be leveraged for this directly. You can specify a command like the following:transcode source=rtmp://your/stream/source destinations=test1 videoBitrates=copy audioBitrates=32k
You can then issue the createHLSStream with localStreamNames=test1