Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Goffi
Le samedi 24 février 2018, 18:25:26 CET Kim Alvefur a écrit :
> On Sat, Feb 24, 2018 at 09:12:30AM +0100, Goffi wrote:
> > currently thumbnails are transmitted using http(s) or BoB (XEP-0231).
> > But with resolutions we can have todays even on small screens, size of
> > images is growing. Transmitting them using BoB can block the
> > connection and is a useless waste of bandwidth.
> 
> What size thumbnails are we talking here? At what point does it become a
> problem to BoB them and what quality do people expect from thumbnails?

And other issue I forgot to mention : with BoB I have to send data through 
the server, while in my use case data will in many cases stay on the same 
local network.


___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Goffi
Le samedi 24 février 2018, 18:25:26 CET Kim Alvefur a écrit :
> On Sat, Feb 24, 2018 at 09:12:30AM +0100, Goffi wrote:
> > currently thumbnails are transmitted using http(s) or BoB (XEP-0231).
> > But with resolutions we can have todays even on small screens, size of
> > images is growing. Transmitting them using BoB can block the
> > connection and is a useless waste of bandwidth.
> 
> What size thumbnails are we talking here? At what point does it become a
> problem to BoB them and what quality do people expect from thumbnails?

It 's not only the size, it's also the quantity. I'm thinking about a 
photos album, say you have 50 pictures/page and so 50 thumbnails, with 
XEP-0234 you can get all thumbnails out of band in the same session, with 
BoB you have to greatly increase the bandwith and number of requests.


___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Kim Alvefur
On Sat, Feb 24, 2018 at 09:12:30AM +0100, Goffi wrote:
> currently thumbnails are transmitted using http(s) or BoB (XEP-0231).
> But with resolutions we can have todays even on small screens, size of
> images is growing. Transmitting them using BoB can block the
> connection and is a useless waste of bandwidth.

What size thumbnails are we talking here? At what point does it become a
problem to BoB them and what quality do people expect from thumbnails?

-- 
Zash
Let them eat blur


signature.asc
Description: PGP signature
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Travis Burtrum
At which point it's no longer P2P and you might as well use https, which also 
works with multiple clients unlike P2P/turn.

On February 24, 2018 12:07:51 PM EST, Evgeny Khramtsov  
wrote:
>Sat, 24 Feb 2018 11:24:39 -0500
>Travis Burtrum  wrote:
>
>> Unfortunately you also can't reasonably expect P2P to work today in
>> most cases because everyone is behind a NAT including most mobile
>> phone networks. So https is still your best bet, and since most
>> servers support http upload it's already done for you.
>
>This problem is solved already by TURN servers.
>___
>Standards mailing list
>Info: https://mail.jabber.org/mailman/listinfo/standards
>Unsubscribe: standards-unsubscr...@xmpp.org
>___
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Evgeny Khramtsov
Sat, 24 Feb 2018 11:24:39 -0500
Travis Burtrum  wrote:

> Unfortunately you also can't reasonably expect P2P to work today in
> most cases because everyone is behind a NAT including most mobile
> phone networks. So https is still your best bet, and since most
> servers support http upload it's already done for you.

This problem is solved already by TURN servers.
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Travis Burtrum
Unfortunately you also can't reasonably expect P2P to work today in most cases 
because everyone is behind a NAT including most mobile phone networks. So https 
is still your best bet, and since most servers support http upload it's already 
done for you.

On February 24, 2018 3:12:30 AM EST, Goffi  wrote:
>Hello,
>
>currently thumbnails are transmitted using http(s) or BoB (XEP-0231).
>But 
>with resolutions we can have todays even on small screens, size of
>images 
>is growing. Transmitting them using BoB can block the connection and is
>a 
>useless waste of bandwidth. I'm thinking about P2P transmission, so
>http is 
>not an option here. As XEP-0234 is able to transmit several files in
>the 
>same session, it would be a good candidate for that.
>
>Doesn anybody see an issue with using XEP-0234 for that? If no I'll
>propose 
>the change on the XEP.
>
>Goffi
>
>
>___
>Standards mailing list
>Info: https://mail.jabber.org/mailman/listinfo/standards
>Unsubscribe: standards-unsubscr...@xmpp.org
>___
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


[Standards] [XEP-0264] thumbnails: we should be able to transmit them with XEP-0234

2018-02-24 Thread Goffi
Hello,

currently thumbnails are transmitted using http(s) or BoB (XEP-0231). But 
with resolutions we can have todays even on small screens, size of images 
is growing. Transmitting them using BoB can block the connection and is a 
useless waste of bandwidth. I'm thinking about P2P transmission, so http is 
not an option here. As XEP-0234 is able to transmit several files in the 
same session, it would be a good candidate for that.

Doesn anybody see an issue with using XEP-0234 for that? If no I'll propose 
the change on the XEP.

Goffi


___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___