I am working on my bachelor thesis: VOIP Video Doorbell with one-way
I am fighting with this a issue for a lot of hours. The issue is that I
am unable to make videocalls via SIP work. I sucessfully connected audio
calls, and even other requested features like "unlocking doors"
(switching relay on GPIO when right DTMG code is entered) works.
Just the video is not working.
For development, I am using Raspberry Pi 4 as it compiles faster the Pi
Zero 2W, but after sucesfull setup, I will recompile the PJSIP (version
2.10) and make everything work on Pi Zero 2W.
My other HW is a Respeaker 2Mics HAT and Pi Camera v1.3 (provided by my
I tried nearly everything I was able to with my programming skills (I
study IT security and IT law, not programming).
here is my main file Doorbelly.py that controls everything:
Then here is call.py file that controls the call itself:
And just linking other files like lock.py used for unlocking the door:
Here is my config loaded by the doorbell.py and used for controlling the
call destination and lock password: https://paste.brcb.eu/majucypygo.ini
And finally, here is my log of the call: https://pastebin.com/fFMN2HnG
What I understand from this is that it tries to open an RX stream and
its window, but it failes as there is no screen attached to the RPi (and
it will not be in the project)
So my idea was to retry opening a new video stream with just outgoing
direction once the call is estabilished. But that fails also.
I am sorry for such a long report and I thank you in advance for helping
me with this issue. I am not a dead end and have no idea what to try