-
rion
I'm slightly stuck with XEP-0338 (jingle grouping). For example I want to open a session for voice, video and file transfer bundled in one p2p connection. But at the moment of opening there were no files to transfer, the files are expected to appear later. So basically I want to put into BUNDLE grouping something that doesn't exist yet. The XEP says nothing about group updates. So how to handle this?
-
rion
https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-54#section-7.5.1 describes updated for SDP. I believe same technique is applicable to XMPP too. I'd prefer to explicitly mention this in the XEP.
-
Arne
For which Server do you want to use this?
-
Arne
Oh he's gone already...
-
Arne
But I have a problem too. I and my users can send TXT or VCF files but can't download them in the Clients. I think it is a problem of prosodys internal http upload. But everything else just works fine. Only txt and vcf files didn't work. Did I misconfigured something with http upload? Http upload external works and shouldn't be the problem because the txt and vcf are small enough to go through the internal upload...✎ -
Arne
But I have a problem too. My users and I can send TXT or VCF files but can't download them in the Clients. I think it is a problem of prosodys internal http upload. But everything else just works fine. Only txt and vcf files didn't work. Did I misconfigured something with http upload? Http upload external works and shouldn't be the problem because the txt and vcf are small enough to go through the internal upload... ✏
-
wurstsalat
Arne, check which mime types your server’s
-
wurstsalat
... your server is serving
-
jonas’
Arne, this seems more like a question for xmpp:operators@muc.xmpp.org?join
-
jonas’
or maybe for the support room of your server
-
Arne
Ah sorry, just seeing.. Wrong room. Thanks jonas’ wurstsalat
-
jonas’
:)
-
rion
Arne: no server for now. just p2p.
-
Arne
I see and which clients?
-
rion
Arne: Psi
-
rion
I really want to have QUIC there but it's not yet ready for prod (libs are missing and conflicting with others. We need OpenSSL 3.0 for QUIC). But with QUIC there is no BUNDLE problem basically just because its XEP is not yet designed :)
-
Arne
Yes it's to early to use it
-
rion
So I integrated usrsctp and took parts for MediaSoup to wrap it for Psi. For now I'm trying to design something in advance to have less refactoring later.
-
edhelas
would it be possible to have something like Chat Markers but for Pubsub Items ?
-
edhelas
basically to know if someone accessed and read the content of a Pubsub item
-
rion
Arne: wrt design. I think ICE connections per contact/mediaserver have to be maintained by a dedicated controller. So when for example we want to share a file withing existing RTP session, it will try to find a suitable already opened ICE connection to the contact and BUNDLE its data (sctp) stream there. In this case jingle-ice application is just a user of such controller may serve as a kind of master application to negotiate ICE candidates. Unfortunately XEPs aren't explicit about such a use case too.
-
rion
btw, just if anyone wants to implement its own sctp+datachannel lib. It's a terrible idea. There is way more work than it looks from the first glance. usrsctp is not ideal too (multithreading problems. lacks support for some cool sctp extensions) but it's well maintained and used everywhere.
-
Zash
If only we could have had actual SCTP :(
-
Zash
Or MPTCP
-
Arne
Sorry rion I think I can'z help with this..
-
rion
Zash: time to design xmpp over QUIC. Same lib to open both xmpp and p2p connections. And all the encryption inside. Should be really cool. :)
-
jonas’
like connect()?
-
jonas’
:-X
-
jonas’
is quic suitable for realtime data? can you tell it to ignore dropped stuff?
-
rion
it is as far as I know. It supports unreleable streams.
-
rion
Also I read some comparison doc sctp vs quic. And it seems quic is better by many aspects. But sctp gets new extensions regularly, so maybe the doc is already outdated (https://tools.ietf.org/html/draft-joseph-quic-comparison-quic-sctp-00).
-
jonas’
A comparision between SCTP and QUIC by the QUIC working group? probably not biased.
-
rion
=)