I am adding the in-app broadcasting capability to my iOS app using ReplayKit. The code is quite simple (I\'ve removed error handing code to simplify), which is based on WWDC