- Lance has joined
- Lance has joined
- stpeter has left
- Jef has left
- kevin has joined
- Lance has joined
- Lance has joined
- jabberjocke has left
- Lance has left
- jabberjocke has joined
- Alex has joined
- Alex has left
- jabberjocke has left
- Alex has joined
- Neustradamus has joined
- Lloyd has joined
- kevin has left
- kevin has joined
- jabberjocke has joined
- jabberjocke has left
- kevin has left
- kevin has joined
- stpeter has joined
- Alex has left
- Florob has joined
- jabberjocke has joined
- Florob has left
- Lance has joined
-
stpeter
hi Lance!
-
stpeter
any further thoughts on our SDP problem?
-
Lance
just that I wish there were easily available SDP parsers
-
stpeter
in what languages?
-
Lance
JS and Python
-
stpeter
I'm kind of surprised we don't have one in JS given all the WebRTC work happening
-
Lance
I've seen some partial works for that
-
Lance
I think Phono might have a good implementation, not sure on licensing though
-
Lance
but the SOX idea is looking reasonable
-
stpeter
Lance: ugly but practical, yes
-
stpeter
Lance: I didn't write it up yet, but I think I will before the end of this week
-
Lance
right, just one more thing in the disco stack to check
-
stpeter
:)
-
Lance
support sox? use that. support jingle? use that
-
stpeter
right
-
stpeter
anyway I will run it up the flagpole and see who salutes :-)
-
Kev
Am I being dense that I don't immediately know what sox is?
-
Lance
sip/sdp over xmpp
-
Kev
I've completely missed this.
-
Kev
Wherewhowhywhatnow?
-
Lance
it was mentioned at the summit
-
Lance
the main issue is with the direction that webrtc has gone
-
stpeter
Kev: Lance and I had a chat about it here the other day
-
Lance
which has standardized on using SDP
- stpeter fishes out the logs
-
Kev
I must have not been in that track.
-
Kev
Unless you mean cusax (sp?)
-
stpeter
http://logs.xmpp.org/xsf/130506/#20:27:18
-
stpeter
Kev: not CUSAX
-
Lance
so browser apps right now just pass SDP blobs around to set up video/audio sessions
-
stpeter
CUSAX is Combined Use of SIP and XMPP = dual-stack clients
-
Lance
and browsers dont provide a way to parse or get the raw data in the SDP blob
-
stpeter
SoX is for XMPP-only endpoints to send plain SDP
-
Lance
so just lots of error prone parsing/translating back and forth to jingle
-
stpeter
wow, I haven't logged into stpeter@jabber.org for a while -- I have 100+ buddy requests
-
Kev
This sox stuff doesn't sound very appealing!
-
Lance
Kev: yes, very ugly and blobby
-
Lance
but also simpler for certain useful cases
-
Kev
I hope we're putting it inside the message body!
-
Lance
and JSON encoding it, for good measure
-
stpeter
:)
-
stpeter
nice! ".stpeter@jabber.org would like to subscribe to your presence"
-
stpeter
Kev: in fact, SoX is just about the ugliest thing you've ever seen, but it works -- it's really http://xmpp.org/extensions/inbox/zoep.html revisited
-
Kev
So you mean I might expect to see things as beautiful as http://xmpp.org/extensions/inbox/zoep.html#examples-call?
-
Kev
Because that's what I've always thought has been missing from life.
-
Kev
That example's also illegal, isn't it?
-
Lance
yep, with the < in the headers
-
stpeter
I haven't looked at the ZOEP thing in a long time
-
Kev
From what I can tell, you're missing out.
-
stpeter
:P
- Lloyd has left
- Alex has joined
- Lance has joined
- kevin has left
- kevin has joined
- Lance has joined
- Lance has left
- Lance has joined
-
Lance
stpeter: I also started on a xep for letting a server prep jids a client sends it: http://legastero.github.io/customxeps/extensions/jidprep.html
-
stpeter
Lance: ah, good, I've been thinking a lot in the last 24 hours about some Python code for internationalization, but only to output the codepoint tables for IDNA2008 and PRECIS
-
stpeter
of course, Matthew Wild would say I should do it in Lua ;-)
- MattJ has joined
-
stpeter
speaking of whom! ;-)
-
MattJ
Hello!
-
stpeter
but multiple implementations are a good thing
-
stpeter
MattJ: the topic is a server-side service that preps JIDs for you
- MattJ bookmarks the room, because one can never have enough bookmarks
-
stpeter
heehee
-
MattJ
Want one? I can code it in about 5 minutes :)
-
stpeter
MattJ: for some reason, Lance and I and a few others seem to use this room for technical discussions at times
-
stpeter
MattJ: you can code most everything in 5 minutes :P
-
MattJ
Trying to move jdev out of prosody@?
-
stpeter
jdev is dead, long live jdev!
-
MattJ
Heh
-
stpeter
besides, muc.xmpp.org isn't hammered like conference.jabber.org
-
stpeter
and I'd assume that XSF IPR rules apply here, for whatever that is worth
-
MattJ
Rules, pft
-
stpeter
that's the spirit!
-
MattJ
Do you also want the server to split it perhaps? or only prepping?
-
stpeter
prepping seems like enough
-
stpeter
the client could send whole JIDs or only JID-parts
-
stpeter
as Jack pointed out in the related email thread a while back, that doesn't help you until you're connected to the XMPP server, so one might want to offer an HTTP service as well, but IMHO the XMPP service would be a fine start
-
Lance
yeah, an HTTP service would be nice, but at that point, a whole heck of a lot of XMPP data would be nice to have exposed over standardized REST calls
-
stpeter
heh
-
stpeter
it's an open question how much really needs to go over XMPP -- many IQ things could happen over HTTP (oh, say, vCard get)
-
MattJ
HTTP? You're moving the goalposts :P
- MattJ adds, because it's only another couple of lines...
- stpeter glances at PEP-0008
-
MattJ
Lance, GET or POST?
-
Lance
MattJ: I'd say just prepping the JID as given is enough. Clients can split them pretty easily
-
Lance
GET should work
-
Lance
cacheable
-
Lance
stpeter: If you figure out getting precis to work in Python, i'll bundle it in to sleek
-
stpeter
Lance: it's a deal!
-
stpeter
Lance: but step one is to at least figure out how to output the tables I need -- that might lead to a building block we can use
-
MattJ
Lance, http://q.zash.se/d1302228.txt
-
MattJ
GET localhost:5280/prep?jid=USER@HOST
-
Lance
\o/
-
MattJ
(prep assumes you named it mod_prep)✎ -
MattJ
(/prep assumes you named it mod_prep) ✏
-
MattJ
Message correction, I'm growing to like it :)
-
stpeter
heh
-
Lance
it is handy
-
Lance
ok, so prosody supports this now, and that's all that counts. so time to tidy up this protoxep and send it to the editor
-
stpeter
yay!
-
MattJ
Ha, I just saw your XEP in the backlog
-
MattJ
I can make the plugin support that protocol
-
Lance
Yeah, it's pretty much identical already, just a namespace change
-
Lance
But specifying jid-malformed for the error response is a good idea
-
MattJ
I chose not to nest the <jid>, just makes the code simpler, and I didn't see a need for it
-
Lance
yeah, makes sense
-
MattJ
I'll commit this to prosody-modules
-
Lance
i think i was modelling how bind works, but that's not needed if we're not splitting
-
MattJ
along with a couple of other plugins I've been working on...
-
stpeter
sheesh, my inbox is back at 666 messages -- why don't I seem able to shake that?
-
stpeter
I'll need to delete a whole lot of messages, I think ;-)
-
MattJ
Good luck :)
-
stpeter
I got it down from ~3000 to this number and just got stuck
- Jef has joined
-
MattJ
Lance, I'll change the namespace to urn:xmpp:jidprep:tmp
-
MattJ
and wondering if perhaps the JID could just go in the path... GET /prep/user@host
-
Lance
that would work pretty nicely
-
MattJ
Makes the code smaller too :)
-
MattJ
and it now returns HTTP 400 on an invalid JID, unless you have a better code
-
Lance
i can't think of one off the top of my head
-
Lance
except for 418
-
MattJ
422 Unprocessable Entity (WebDAV; RFC 4918)
-
MattJ
I do like 451 :)
-
Lance
:)
-
stpeter
heh
-
stpeter
I don't think we ever got that one registered
- MattJ is a Bradbury fan
-
Lance
ok, new version pushed. should match implementation
-
Lance
bah, forgot schema change
-
MattJ
Looks perfect
-
MattJ
Bah, schemas :)
- stpeter shakes his fist at the XML gods!
-
Lance
its ok they're not normative anyway :p
-
stpeter
the gods or the schemas? ;-)
-
Lance
haha
-
MattJ
:P
-
Lance
ok, now that's updated
-
Lance
do I just email the xml file to you stpeter?
-
stpeter
Lance: I can pull it from a URL or whatever
- stpeter finds http://legastero.github.io/customxeps/extensions/jidprep.xml
-
MattJ
Formalities? This isn't the IETF :)
-
stpeter
yeah thankfully :P
-
stpeter
I'm going to experiment with literate programming in my i18n program, we'll see how it goes :-)
-
Lance
the only problem I ever had with literate programming was that none of the systems worked like I wanted it to
-
Lance
i think its a rite of passage, making your own literate programming framework
-
stpeter
who needs a system?
-
stpeter
heh
-
stpeter
and it's in the inbox
-
Lance
\o/
-
Lance
and now I don't have to feel bad about not bundling Mbs of character data to stringprep in the browser
-
stpeter
hehe
-
MattJ
:)
-
stpeter
indeed
-
stpeter
make the server do all that work
-
MattJ
Long live simple clients
-
stpeter
:)
-
stpeter
that brings me back to Jingle and SDP and SoX -- what I had always hoped for was a way for the client to tell the server "hey I want to call Alice" and the server would work out all the details -- the whole offer/answer model is so complex...
-
Lance
yeah, that would be nice
-
stpeter
probably just a dream :-)
-
Lance
maybe, but sox is pretty close
-
stpeter
really? I don't think so
-
stpeter
SoX is just an ugly workaround for offer-answer madness
-
Lance
especially since most clients just use a web view anyway which will eventually have webrtc support
-
stpeter
but it's within that same paradigm
-
stpeter
hmm, maybe
-
Lance
just grap the sdp blob, send, be happy
-
stpeter
you're more of an optimist than I am :P
-
Lance
probably
-
Lance
but its looking like webrtc will hopefully solve a lot of these problems and pave the road
-
stpeter
nod
-
stpeter
I still worry about silos
-
stpeter
but I suppose I always will
-
Lance
i dont think sox would be any more siloable than things already are
-
stpeter
oh, no, I didn't mean that
-
Lance
its the exact same data in a jingle stanza
-
stpeter
yepper
-
stpeter
bbl
- stpeter has left
- kevin has left
- kevin has joined
- Alex has left
- jabberjocke has left
- Neustradamus has left
- Neustradamus has joined
- Lance has left
- Lance has joined
- Lance has left
- Lance has joined
- Lance has joined
- Lance has joined
- stpeter has left
- Jef has left
- kevin has joined
- Lance has joined
- Lance has joined
- jabberjocke has left
- Lance has left
- jabberjocke has joined
- Alex has joined
- Alex has left
- jabberjocke has left
- Alex has joined
- Neustradamus has joined
- Lloyd has joined
- kevin has left
- kevin has joined
- jabberjocke has joined
- jabberjocke has left
- kevin has left
- kevin has joined
- stpeter has joined
- Alex has left
- Florob has joined
- jabberjocke has joined
- Florob has left
- Lance has joined
- Lloyd has left
- Alex has joined
- Lance has joined
- kevin has left
- kevin has joined
- Lance has joined
- Lance has left
- Lance has joined
- MattJ has joined
- Jef has joined
- stpeter has left
- kevin has left
- kevin has joined
- Alex has left
- jabberjocke has left
- Neustradamus has left
- Neustradamus has joined
- Lance has left
- Lance has joined
- Lance has left
- Lance has joined