Remove audio path.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 16 Sep 2020 20:12:45 +0000 (22:12 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 16 Sep 2020 20:12:45 +0000 (22:12 +0200)
lagarde.py

index 9cb9945e96c388c25c6e9341827ac5c5de03c29e..1724d290d2cb99562031c045a212d40e77e2dfcc 100755 (executable)
@@ -91,20 +91,6 @@ class Lagarde:
                 pad.link(q.get_static_pad('sink'))
                 q.link(conv)
                 conv.link(sink)
-            elif name.startswith('audio'):
-                q = Gst.ElementFactory.make('queue')
-                conv = Gst.ElementFactory.make('audioconvert')
-                resample = Gst.ElementFactory.make('audioresample')
-                sink = Gst.ElementFactory.make('autoaudiosink')
-                self.pipe.add(q)
-                self.pipe.add(conv)
-                self.pipe.add(resample)
-                self.pipe.add(sink)
-                self.pipe.sync_children_states()
-                pad.link(q.get_static_pad('sink'))
-                q.link(conv)
-                conv.link(resample)
-                resample.link(sink)
 
     async def listen_to_gstreamer_bus(self):
         self.webrtcbin = Gst.ElementFactory.make('webrtcbin', 'laplace')