R5RecordTypeRecord
signals for the server to record the stream.
The only difference between this example and the publish test is that in the publish command you send a different RecordType flag:
self.publishStream!.publish(Testbed.getParameter("stream1") as! String, type: R5RecordTypeRecord)