Call link() on correct object

This commit is contained in:
Philipp Hörist 2018-08-21 18:48:20 +02:00
parent 2e47f93214
commit 33effbbeb6
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class JingleRTPContent(JingleContent):
# Add fallback source
self.src_bin = self.get_fallback_src()
self.pipeline.add(self.src_bin)
self.src_bin.link(sink_pad)
self.src_bin.get_static_pad('src').link(sink_pad)
self.stream_failed_once = True
else:
reason = nbxmpp.Node('reason')