title: The video sometimes result in a still video using ReplayKit
body: <p>I followed the video that showcases <em>ReplayKit</em>. The problem is that
  the recorded video that I get from using <em>ReplayKit</em> sometimes result in a video that is either only the last frame, or the first. The in game sounds also manages to get recorded and microphone too (if I played with Microphone that is)</p>
  
  <p>EDIT: Sorry for the confusion with the sound. After testing it again it shows that it didn't record the sound either. The video just shows 1 frame for the whole duration of the recorded video.</p>
  
  <p>When I first implemented <em>ReplayKit</em>, the video would sometime become only black for the whole video, but that haven't come up for my last 100 tries.</p>
  
  <p>Does anyone have a implementation or tutorial/guide to follow on how to correctly implement <em>ReplayKit</em>?</p>
  
  <p>The only difference in my implementation compared to the <em>ReplayKit</em> video is that I show the <em>previewViewController</em> directly, instead of storing the reference to the <em>previewViewController</em>.</p>
  
  <p>I've tried to check for any error messages, but I haven't gotten any.</p>
  
  <p>Link to the video: <a href="https://developer.apple.com/videos/play/wwdc2015-605/" rel="nofollow">https://developer.apple.com/videos/play/wwdc2015-605/</a>
  (Only works in Safari)</p>
  
  <p>Any clues as to why the video becomes like that?</p>
  
  <p>EDIT: After further testing, it seems like it's not only the first or last frame. I just came upon a video that managed only to get SOME frames of the whole gameplay that I recorded. It's like the <em>ReplayKit</em> was lagging behind or something like that.</p>
  
  <p>And also, it's an Iphone 5S with IOS 9.0.2</p>