Call link() on correct object
This commit is contained in:
parent
2e47f93214
commit
33effbbeb6
|
@ -243,7 +243,7 @@ class JingleRTPContent(JingleContent):
|
||||||
# Add fallback source
|
# Add fallback source
|
||||||
self.src_bin = self.get_fallback_src()
|
self.src_bin = self.get_fallback_src()
|
||||||
self.pipeline.add(self.src_bin)
|
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
|
self.stream_failed_once = True
|
||||||
else:
|
else:
|
||||||
reason = nbxmpp.Node('reason')
|
reason = nbxmpp.Node('reason')
|
||||||
|
|
Loading…
Reference in New Issue