Daniel Gultsch on Nostr: I just finished a refactor of the Jingle File Transfer code in #Conversations_im. The ...
I just finished a refactor of the Jingle File Transfer code in #Conversations_im.
The P2P file transfer code was probably one of the oldest code in Conversations.
The new code should be a lot more resilient and brings support for XEP-0343: Signaling WebRTC datachannels in Jingle¹. This means we should be able to exchange files directly with #XMPP web clients.
Due to the better NAT hole punching of WebRTC vs Socks Bytestreams we now have a higher chance of actual P2P.
¹:
https://xmpp.org/extensions/xep-0343.htmlPublished at
2023-12-19 16:42:59Event JSON
{
"id": "08345e2eaceb3db1c8f25b61601bef0a3b03396a2192efddba15aa1330ec677f",
"pubkey": "20502883ace25666fa4de12ff6fc01b2a6a654d89e28342ed523c3d262c4a2fc",
"created_at": 1703004179,
"kind": 1,
"tags": [
[
"t",
"conversations_im"
],
[
"t",
"xmpp"
],
[
"proxy",
"https://gultsch.social/users/daniel/statuses/111608081935141370",
"activitypub"
]
],
"content": "I just finished a refactor of the Jingle File Transfer code in #Conversations_im. \nThe P2P file transfer code was probably one of the oldest code in Conversations.\nThe new code should be a lot more resilient and brings support for XEP-0343: Signaling WebRTC datachannels in Jingle¹. This means we should be able to exchange files directly with #XMPP web clients.\nDue to the better NAT hole punching of WebRTC vs Socks Bytestreams we now have a higher chance of actual P2P.\n\n¹: https://xmpp.org/extensions/xep-0343.html",
"sig": "73afd37cd8bdfe483edba1d76ec4b35e779a3ddc40c9507bc4001d66e632210450da068b1b91240900707ac114b50188cbcd0e126f790d8b6c7beb706aef3971"
}