From: Philipp Spitzer Date: Wed, 24 Jun 2020 18:01:16 +0000 (+0200) Subject: Use get_offer instead of subscripting for better compatibility. X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/471f4bfbd348489bd87309c065befece6ce15e3e Use get_offer instead of subscripting for better compatibility. --- diff --git a/laplace_client.py b/laplace_client.py index 4180f30..0aa7f50 100755 --- a/laplace_client.py +++ b/laplace_client.py @@ -51,7 +51,7 @@ class WebRTCClient: log.info('on_offer_created') promise.wait() reply = promise.get_reply() - offer = reply['offer'] + offer = reply.get_value('offer') promise = Gst.Promise.new() self.webrtc.emit('set-local-description', offer, promise) promise.interrupt()