-
Notifications
You must be signed in to change notification settings - Fork 197
webrtc-sendrecv.py TypeError : 'Structure' object is not subscriptable #42
Comments
I am facing the same error in running the demo. What I have:
I have built GStreamer 1.1.4.2 using the sources obtained from:
In order to ensure that I have all the elements required for the pipeline, I ran the following:
Then I cloned the demo repo and built the C version of the send recv. I used https://webrtc.nirbheek.in/ for signalling. It worked!!! So the conclusion is the GStreamer 1.14.2 was working and I had the webrtcbin working. But my objective is to get the python version working.
Then I ran the python version and got:
I had the shot at building gst-python but that did not chnage anyhting. I had checked for null or print the reply structure:
Any suggestion? Since the C version works - Its python binding land issue? |
please use
to replace
|
@notedit Much thanks for the response. Your fix got the python example starting to work for me but then the bouncing ball freezes after few seconds in the browser and the python end shows assertion error. I will open a new issue for that. I will appreciate if you have a look at that. |
Finally, I have got the python demo working based on the solution provided in #45 |
Thanks @notedit . Your suggestion works. |
I am able to successfully test out the stream from C version, but not the python version. I have modified this docker file to setup gstreamer 1.14.2.
Thanks.
The text was updated successfully, but these errors were encountered: