How are video calls implemented? (and a meta-question)

I see from https://delta.chat/en/help that Delta Chat supports 1-1 audio video calls, and I am curious about how it is implemented. I would appreciate if anyone could give me a high-level overview with comparisons to other projects that use similar technologies. (e.g., does it use a WebRTC JavaScript library that is also used by other projects? When was it introduced / in what repository?)

The meta question is if there’s a better way for me to find out, or a better place for me to ask this question. I tried Googling and using the build-in forum search for things like “delta chat video call implementation” and “webrtc” and I found e.g. this thread:

https://forum.delta.chat/t/consider-supporting-webrtc/2707

Which teases the idea of using WebRTC, but then the thread ends and there is no pointer to the next relevant discussion. The thread is also closed which is why I am making a new thread here.

I understand there are also technical discussions on GitHub, but I visited the landing page at https://github.com/deltachat/ and couldn’t figure out how to search for or even find those discussions.

In a traditional email-based development workflow, feature proposal discussions and implementation details would all be in the same medium and I could grep the entire archive in the blink of an eye. Do the systems Delta Chat uses for discussion and development offer any approximation of this functionality? I have a feeling that I’m missing something because it feels kind of ridiculous to write this post. Thanks/sorry/etc.

This chart may be helpful GitHub - deltachat/calls-webapp: P2P videocalls via WebRTC for integration into Delta Chat · GitHub.

No, there is no library. It uses WebRTC API directly. It’s all quite simple.
Only desktop and deltatouch uses the calls-webapp repo. DC iOS and DC Android use native WebRTC libs (but they used to use calls-webapp).

The initial implementation in desktop : feat: add outgoing video calls by WofWca · Pull Request #5476 · deltachat/deltachat-desktop · GitHub.
You can find similar MRs in iOS and Android, around the same time.

A better place to find out by yourself is GitHub. Use the search bar at the top.
A place to ask is this forum here.

Well, I don’t know how familiar you are with software development, but, apart from GitHub search, there is the source code for each of the Delta Chat clients for each platform, and its Core. You can clone and grep the source code for “calls” and inspect it. Then open git blame and find out the commit that introduced this or that. Then go to that commit on GitHub and it will tell you which pull request it belongs to. Then go to the pull request and you’ll see the discussions.

Many discussions are not public, i.e. in person or in chats. But their conclusion (in the form of pull requests) almost always is.

Great, thanks for the info.