Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Daniel Gultsch
@daniel@gultsch.social  ·  activity timestamp 3 days ago

Day 2 of the Hackathon went great. Marvin ( @larma) helped me implement an opt-in feature in #Conversations_im which routes all P2P sessions (calls and files transfers) via the users home server (similar to the feature found in Signal).

I went on a nice walk to a viewpoint on Mount Royal afterwards.

Now looking forward to Day 1 of #IETF124.

#XMPP #IETF #Jabber

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this post
  • Block
monal-im.org :xmpp:
@Monal@fosstodon.org replied  ·  activity timestamp 2 days ago

@daniel @larma nice! Monal does this, too. Its off by default, but maybe I should turn it on by default.

  • Copy link
  • Flag this comment
  • Block
Goffi
@Goffi@mastodon.social replied  ·  activity timestamp 2 days ago

@Monal @daniel @larma I don't think that making it opt-out is a good idea, it would potentially put a lot of traffic to the server and make P2P nearly impossible.

  • Copy link
  • Flag this comment
  • Block
Goffi
@Goffi@mastodon.social replied  ·  activity timestamp 3 days ago

@daniel @larma Oh that's a nice feature. How do you do that, you just filter out ICE candidates which are local?

  • Copy link
  • Flag this comment
  • Block
Daniel Gultsch
@daniel@gultsch.social replied  ·  activity timestamp 3 days ago

@Goffi @larma libwebrtc has a config flag for that called iceTransportsType which can be set to 'RELAY'.

I believe this is also exposed to browsers.

https://codeberg.org/iNPUTmice/Conversations/src/commit/91ccbfe3d51b5f1c69edfb8497563a7014e36437/src/main/java/eu/siacs/conversations/xmpp/jingle/WebRTCWrapper.java#L397-L400

Codeberg.org

Conversations/src/main/java/eu/siacs/conversations/xmpp/jingle/WebRTCWrapper.java at 91ccbfe3d51b5f1c69edfb8497563a7014e36437

Conversations - Conversations is an open source XMPP/Jabber client for Android
  • Copy link
  • Flag this comment
  • Block
Marvin W
@larma@mastodon.social replied  ·  activity timestamp 3 days ago

@daniel @Goffi It's "iceTransportPolicy: relay" in RTCPeerConnection configuration in the web (see https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#relay). There's also a property "force-relay" in libnice's NiceAgent. So I guess this functionality is widely available in ICE implementations.

RTCPeerConnection: RTCPeerConnection() constructor - Web APIs | MDNMDN

The RTCPeerConnection() constructor returns a newly-created RTCPeerConnection, which represents a connection between the local device and a remote peer.
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.26 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login