24

If I self host some kind of private video chat service, is the video data transferred direct from connected peer to peer? Does it go through the self hosted service instance? Or does that depend on which video server is used?

top 15 comments
sorted by: hot top controversial new old
[-] nutbutter@discuss.tchncs.de 22 points 1 year ago

Jitsi Meet can be self-hosted. The data will go through your server, but end-to-end encryption can be used.

Another option is Wirow. Again, data goes through the servers.

I do not think if there are any peer-to-peer video chat applications. If there were, why would there be a need for self-hosting a server?

[-] tmjaea@lemmy.world 11 points 1 year ago

Jitsi Meet it's usually p2p for calls between two persons. As soon as a third person joins, the meeting gets routed through the server. You can see this by a slight delay happening when person 3 joins. It won't happen again for every additional person joining

[-] wildbus8979@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

I do not think if there are any peer-to-peer video chat applications.

https://en.wikipedia.org/wiki/Tox_%28protocol%29

Also when you use Jingles on XMPP, usually the voice and video part is P2P. Negociation goes through the federated xmpp servers of the respective users.

[-] YurkshireLad@lemmy.ca 2 points 1 year ago

The self hosted part would be for discovery.

[-] NeoNachtwaechter@lemmy.world 9 points 1 year ago

How many participants in your video call?

If it's 1 on 1, you want direct connections.

If it's a conference of 30 people, you don't want direct connections, because everybody's typical plastic home wifi router is very unable to handle 30 incoming plus 30 outgoing video streams at once.

[-] YurkshireLad@lemmy.ca 1 points 1 year ago

It would be 2 or 3 people max.

[-] CertifiedDook@lemmy.world 7 points 1 year ago

Usually it's p2p, there's a moment while initiating the connection where some server is needed for STUN/TURN (i.e. NAT traversal).

I assume some service may have a fallback for server broadcast instead of p2p, but none that I know of do such a thing.

[-] YurkshireLad@lemmy.ca 2 points 1 year ago

Thanks. I’m just curious how much bandwidth would be consumed by the self hosted server if all video traffic is routed through it. If the video traffic is p2p then the self hosted server would be cheaper to maintain.

[-] CertifiedDook@lemmy.world 2 points 1 year ago

Of course check the implementation you end up using if it truly is p2p. Also you can analyze the bandwidth of services on your server, which may be useful in your case.

[-] iHUNTcriminals@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

Self hosted only fans? I want to put on shows for myself to help me save money easier.

I need to stop shit posting in genuine communities.

[-] stikonas@lemmy.kde.social 4 points 1 year ago

Of course it depends on what software you are using.

Though as a rule of thumb, peers try to connect directly. That's not always possible due to firewalls/NATs, so often TURN servers are used as intermediary.

[-] Celtic7670@feddit.de 3 points 1 year ago

It depends on the video chat service you want to install.

[-] wildbus8979@sh.itjust.works 2 points 1 year ago

That depends entirely on the protocol you're using... That's like asking if HTTP works the same way as vittorrent because they both are used to transfer files.

[-] homegrowntechie@lemmy.world 2 points 1 year ago

If if you already run a nextcloud server you should use nextcloud talk. It has web and mobile apps.

[-] mathias@social.fussenegger.pro 2 points 1 year ago

@YurkshireLad Depends on the video chat service and on the infrastructure of the participants.

Most browser based video chat services use WebRTC which usually uses peer to peer if NAT hole punching works - but that depends on the ISP routers.

This article explains it pretty well: https://blog.nirbheek.in/2023/07/webrtc-signalling.html?m=1

Services that may be easier to selfhost than Jitsi:

https://github.com/miroslavpejic85/mirotalk
https://galene.org/

this post was submitted on 21 Aug 2023
24 points (100.0% liked)

Selfhosted

40716 readers
484 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS