Use mod_av to record/playback rtmp://mod_rtmp is an endpoint module. Its a different animal that really has no use now that webrtc is available almost everywhere