]> git.parisson.com Git - teleforma.git/commitdiff
rm room for record
authoryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 22:50:47 +0000 (00:50 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 22:50:47 +0000 (00:50 +0200)
teleforma/views.py

index 340a22a63c306c1184f238aeacc8111992a8f492..a30e4431542dd98f7ded83d815a11f7895e527be 100755 (executable)
@@ -400,13 +400,14 @@ class ConferenceRecordView(FormView):
             stream = LiveStream(conference=self.conference, server=server,
                             stream_type=type, streaming=True)
             stream.save()
+            time.sleep(2)
+
             if server_type == 'stream-m':
                 self.snapshot(stream.snapshot_url, station.output_dir)
 
         return super(ConferenceRecordView, self).form_valid(form)
 
     def snapshot(self, url, dir):
-        print url
         img = urllib.urlopen(url)
         path = dir + os.sep + 'preview.webp'
         f = open(path, 'w')