Integrating Jami into δChat

Jami is a great software for voice/video chat, real time text chat and file sharing. it is decentralized, fast and secure.
I know that in some examples it is not decentralized but it’s still one of the best options.
δChat could use Jami to solve many limitations that it have. we can have simple buttons in δChat like these:
video chat with Jami
share the files with Jami
Jami has a limitation. both users should be online to use it so it needs something like δChat…when both δChat users are online then Jami feature buttons should be available(also some other features like “user is typing” ).

Jami is great but delta chat already has the integration with jitsi for A/V calls that, in my opinion, for this specific case is a better solution since it has the advantage to work also in the browser without the need to create an account or install other applications.

that is a good point
I also use Jitsi and it’s great but it’s not decentralized…so it’s a short term solution.
Jami doesn’t need registration and if it’s integrated into δChat there will be no need to install Jami separately, in this way δChat will have video chat capabilities in itself.
there are also other things (for example sharing big files, user is typing indicator, showing that the user is online or not, real-time text-chat,etc…)

Jitsi, however, allows you to choose different servers or do self hosting, integrating jami in delta chat seems to me something really very complicated (then maybe I’m wrong) but especially at this point why not use directly jami instead of delta chat?

unfortunately self hosting is not an option for most people and choosing from different servers is still using centralized servers
yes I think it could be complicated.
Jami is not able to send messages to offline users. it needs something like δchat.

This is because jami is a p2p app, delta chat (apart from the possible integration with yggmail) is not. Delta chat already uses servers, not its own, but those of email providers. Moreover I think that for A/V calls jami anyway requires the use of some kind of server (stun/turn) who should manage it?
In the end the possibility to choose a jitsi server is very similar to the possibility to choose the email provider. Delta chat works according to IMAP/SMTP standards adding other features i think would distort the project.

And with Delta Chat you are not forced to use Jitsi but you can use any webRTC service for videochat…

Could you please name some webRTC services for videochat that could work with Delta Chat? And also, if possible, the way it can work with Delta Chat. I assume it’s about replacing this string “Jitsi Meet” for another one (?).

Jami is a whole damn messenger, this is basically asking to add a whole other messenger into DeltaChat :woozy_face:

I made a list a while ago but I can give you a couple of examples:

Jami has the major problem that different versions are not compatible. I’ve had even what seems to be the same version on two diffetent platforms not communicate. The text is more reliable than video and audio.

I wound up syncronising Jami updates with everyone I spoke to on it. I hope Jami develops a stable P2P standard, and I would support bridging that standard to Deltachat.

Jami has the advantage that it will wait indefinitely for an opportunity to send a message. It is much more robust to network outages.

In Deltachat, a sender will not get a read receipt for an undelivered message (if receipts are enabled); the recipient will have no indication.

Mail servers usually try to send for 5 days; chatmail servers delete received mail after a set period of some days, even if it is undelivered; most other mailservers have a quota and stop accepting messages if full; some delete the oldest mail when a quota is reached.

P2P functionality could be used to ensure messages eventually get through, by sending hashes of what-I-sent and requesting acknowledgement. If chatmail servers publish their expiry periods, a lack of read receipt after that period would be a cue.

Messages that vanished into the ether could then be re-sent.

This would be especially useful when the internet goes down for a few weeks, due to a natural disaster or government action. Big internet outages aren’t uncommon in many places.

Email can also go over P2P mesh networks, of course. That’s more Briar, a messenger that transmits over the internet, or wifi, or Bluetooth, or sneakernet.