]> git.parisson.com Git - teleforma.git/commitdiff
conf push before messaging tc/release/2.0
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 22 Jan 2026 22:47:04 +0000 (23:47 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 22 Jan 2026 22:47:04 +0000 (23:47 +0100)
teleforma/views/core.py

index 3f8b936bcf04f29e79b99145a67ad2e23e8358c2..26b1579de3e925cfd0d1707c15beab999c624019 100644 (file)
@@ -637,26 +637,22 @@ class ConferenceRecordView(FormView):
                 station.start()
             except:
                 continue
-            station.save()
+
             stream = LiveStream(conference=conference, server=server,
                             stream_type=type, streaming=True)
             stream.save()
-            if server_type == 'stream-m':
-                try:
-                    self.snapshot('http://localhost:8080/snapshot/monitor', station.output_dir)
-                except:
-                    pass
-        if conference.streaming:
-            try:
-                live_message(self.conference)
-            except:
-                pass
 
         try:
             self.push()
         except:
             pass
 
+        if conference.streaming:
+            try:
+                live_message(self.conference)
+            except:
+                pass
+
         return super(ConferenceRecordView, self).form_valid(form)
 
     def snapshot(self, url, dir):